and then to shift the color values around in a non-linear mapping, just paste:
// Modify color map index
//#local NewIndex = pow (NewIndex, 2); // squared
//#local NewIndex = pow (NewIndex, 0.5); // sqrt
#local NewIndex = sin (NewIndex * pi/2);
right below
#local NewIndex = ReMap (Min, Max, 0, 1, OldIndex);
in macro FixColorMapArray.
Enjoy!
Post a reply to this message
Attachments:
Download 'remapcolormap.png' (50 KB)
Preview of image 'remapcolormap.png'
|