|
|
Thomas de Groot <tho### [at] degrootorg> writes:
> If I remember correctly, Clipka always hammered on:
> - NEVER do this: srgb <.5, .3, .7>*50000;
> - ALWAYS do this: srgb <.5*50000, .3*50000, .7*50000>;
If anything, the latter makes it clearer the multiplications are being
done /before/ interpreting the vector’s components as sRGB color
values. If you want to multiply a light source’s intensity, you have to
either store the color in a variable and then multiply it, like Kenneth
did, or use a function to convert the sRGB values to linear RGB and
multiply the latter. From reading the documentation, I’d expect this to
work, too, but unfortunately I get an error when I run it:
C4 = color (srgb <.5, .3, .7>)*50000;
Post a reply to this message
|
|