I have tryed to get a evenly steped gradient,that has a radius value from 0 to 1.
In my example i multipled the gradient to a value of 5 to getting “rounding steps”,and then divided it back by 5 to get the range back to 0 to 1.
The gamma is only insert for better display,has nothing to do with the math itself.
Maybe there is a simple solution,but i can not get a evenly steped gradient from 0 to 1 with evenly spaced and valued colors.
What i tryed is floor.(Gives from the center 0, 0.2, 0.4, 0.6, 0.8)
My color picker shows raw non-tonemapped values as 0.0,0.2,0.4,0.6,0.8 and 1.0:
(The video will take a while to process to HD resolution)
The subtract node is actually same as invert, only it doesn’t unnecessarily convert float to RGB and back to float.
Watch the color picker values. It shows two value types, raw and tone mapped. The reason it shows gray is that the final render is tone mapped. You can disable tone mapping to see the raw values.