Page MenuHome

Texture extension mode 'clip' defaults to 'extend'
Closed, ResolvedPublic

Description

System Information
Operating system: Windows-10-10.0.17763 64 Bits
Graphics card: GeForce GTX 1050/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 418.91

Blender Version
Broken: version: 2.80 (sub 60), branch: master, commit date: 2019-05-06 16:39, hash: rBc0432c2385e6
Worked: (optional)

Short description of error
When using a material with an image texture and setting the extension mode to 'clip' the shader appears to assume the extension mode 'extend' instead.

Exact steps for others to reproduce the error
Create plane
Add uv map
Create material with image texture using the UV map node as the image texture vector input
Scale the uv map down so that the image texture repeats
Change the image texture extension mode to 'clip'

Event Timeline

Apologies, this was not originally tested on the latest version of Blender. However, I just tried it on a fresh version of Blender 2.8 and the bug persists.

Brecht Van Lommel (brecht) triaged this task as Confirmed, Medium priority.

I guess something broken in rBce148c137460: Cleanup: Node shader texture image.

input_coords is not used at all, which seems wrong at least.