|
|
Am 17.03.2017 um 21:56 schrieb Bald Eagle:
> Mike Horvath <mik### [at] gmailcom> wrote:
>
>> What can you use this script for? Can you use it in color maps? IIRC
>> sRGB doesn't behave as expected in color maps.
>>
>> Mike
>
> That was the general (original) idea.
>
> Seems to work fine (so far...) .
>
> #declare Tone2 = <1.2, 1.2, 0.3>;
> #declare Wood = texture {
> pigment {
> wood
> color_map {
> [0.0 rgb SRGB2RGB(<121, 52, 13>/255) * Tone2]
...
I think you're talking about two different things:
- `srgb` not being allowed in parentheses (same as `rgb`, btw), which is
what you're working around, and which you just /happen/ to need in a
color_map.
- `color_map` always being interpolated in linear colour space, even if
colours are being specified using `srgb`, which I guess is what Mike is
talking about (and which the current 3.7.1 beta solves by providing the
`blend_mode` and `blend_gamma` settings).
Post a reply to this message
|
|