|
|
I've written the following macro to tweak some color values:
#macro gamma_color_adjust(in_color, in_transmit)
#local out_gamma = 2.2;
#if (in_transmit)
VPow(in_color,out_gamma) + <0,0,0,in_transmit,>
#else
VPow(in_color,out_gamma)
#end
#end
The macro takes a three component color vector as the first parameter,
and a single transmit parameter as the second parameter. I keep getting
the error, "Expected 6 parameters but only 5 found." What did I do wrong?
--
http://isometricland.com
Post a reply to this message
|
|