POV-Ray : Newsgroups : povray.general : remap RGBT color to anther RGBT color? : Re: remap RGBT color to anther RGBT color? Server Time
30 Jul 2024 06:20:41 EDT (-0400)
  Re: remap RGBT color to anther RGBT color?  
From: Chris B
Date: 11 Jul 2009 11:06:44
Message: <4a58aa84@news.povray.org>
"caduser" <nomail@nomail> wrote in message 
news:web.4a588d74bddeda84dbd439ba0@news.povray.org...
> It seems if there is a way it would be the material file not the inc file 
> right?
> When I tried my colleagues approach:
>
> <%MATERIAL
> texture {
>    pigment
>      {
>          color rgbt <<%R%> * 0.8 + 0.2,<%G%> * 0.8 + 0.2,<%B%> * 0.8 +
> 0.2,<%A%>>
>
>      }
> It did work for Black but shifts every color if there was a way at this 
> point to
> just push one color value.
> I also need to look more at the reflectivity discussed early see if I can 
> make
> Black reflect enough to not be pure black in the render.
>

So did you try the other suggestions for your 'material' file (min, max or 
clip)?
They would seem to be able to do exactly what you're asking for.


Post a reply to this message

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