Am 03.09.2010 11:54, schrieb esterichia:
>> #macro FROM_BLACK(COLOR)
>> color_map
>> {
>> [0 color rgb 0]
>> [1 color COLOR]
>> }
>> #end
>
> This works but the colors are very dark. I thought I should use some other
> color_map, like
> [0 color rgb 0]
> [0.5 color COLOR]
> [1 color rgb 1]
> but this is not the case. Do I have to change the color_map?
The problem is that they are averaged instead of added; you'll need to
multiply the colour by a factor of 3:
[0 color rgb 0]
[1 color COLOR * 3]
Post a reply to this message
|