Wire - Texture2D values being clamped

Post your questions here and we'll all try to help.
Post Reply
unizen
Posts: 1
Joined: Sat Jun 26, 2021 04:37

Wire - Texture2D values being clamped

Post 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.

Zoltán
Team Resolume
Posts: 7600
Joined: Thu Jan 09, 2014 13:08
Location: Székesfehérvár, Hungary

Re: Wire - Texture2D values being clamped

Post 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.
Software developer, Sound Engineer,
Control Your show with ”Enter” - multiple Resolume servers at once - SMPTE/MTC column launch
try for free: http://programs.palffyzoltan.hu

Post Reply