Page 1 of 1

Wire - Texture2D values being clamped

Posted: Sat Jun 26, 2021 06:10
by unizen
When the Texture Bit Depth is set to either 8bit integer or 16bit integer, all Texture2D channels get clamped between a value of 0 and 1, every step of the way. This makes it difficult/impossible to do certain math operations on textures, as any intermediate values which are negative or greater than 1 get clamped.

Note that this clamping does not occur when texture bit depth is set to one of the float modes.

Re: Wire - Texture2D values being clamped

Posted: Mon Jun 28, 2021 17:59
by Zoltán
Wire is not clamping actively, but your GPU might do that with Integer textures.

If you see this with inputs, place a Resize node after the Texture in, and set the patch to a float mode.