Planetside Software Forums

Function Nodes In Practice => Function Nodes by Category - UNDER CONSTRUCTION => Clamp Functions => Topic started by: Hetzen on September 30, 2019, 08:53:44 AM

Title: Clamp 0 1 Colour explained
Post by: Hetzen on September 30, 2019, 08:53:44 AM
Clamp 0 1 Colour restricts values in the component channels red, green, blue, to a minimum of 0 and a maximum of 1.

Using a colour source that has values between -2 to 2 in each channel to vector displace a flat surface...

Clamp_0_1_Colour_01.jpg

...a Clamp 0 1 Colour will remove any colour below 0 leaving it 0, and any value above 1 becoming 1.

Clamp_0_1_Colour_02.jpg

If there's any errors, omissions or questions about the above, please leave a comment and we will add further details in this post when relevant.

https://planetside.co.uk/wiki/index.php?title=Clamp_0_1_Colour