POV-Ray : Newsgroups : povray.advanced-users : Override textures/materials? : Re: Override textures/materials? Server Time
23 Apr 2024 23:25:42 EDT (-0400)
  Re: Override textures/materials?  
From: Kenneth
Date: 25 Jun 2021 20:25:00
Message: <web.60d673abeaa34374d98418916e066e29@news.povray.org>
Alain Martel <kua### [at] videotronca> wrote:
>
>
> > Also, try  srgb 1 for the fog color, which should(?) produce
> > a 'different' type of exponential fog-color falloff. Maybe.
> >
>
> srgb 0 is exactly the sama as rgb 0, and srgb 1 exactly the same as rgb 1.
> Those are the two intersection points between those two.
> The use of srgb have no effect on any fading or gradient.
>
> gradient x colour_map{[0 rgb 0][1 rgb 1]}
> will render exactly the same as
> gradient x colour_map{[0 srgb 0][1 srgb 1]}

Oops! You are correct. Yes, I was thinking of the *possible* change that 'srgb'
might make to the black-to-white fog gradient. But as you say, rgb and srgb look
the same.

I must have been thinking instead about the effects that the newer blend_mode
and blend_gamma keywords have on a color_map. But simple fog cannot use a
color_map, unfortunately.


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.