Hi,
I wonder if anyone can help me. I'm working on a script based of Casual's mcjSpreadTex - https://sites.google.com/site/mcasualsdazscripts5/mcjspreadtex
I've modified it so it copies color values, which then can be applied to other channels. However, I want to some operations to it ie. clamp color to a minimal value of 32 rather than 0 and retarget colors above values (say, 255,192,128 to 160,120,80). I'm thinking retargeting is done by converting the values from RGB to HSV and then changes/clamps the colors to a value of 67. Is that possible? Or do I have to work with the original RGB values.
Thanks.