POV-Ray : Newsgroups : povray.advanced-users : Lighted vs unlighted texture : Re: Lighted vs unlighted texture Server Time
2 May 2024 14:32:27 EDT (-0400)
  Re: Lighted vs unlighted texture  
From: William F Pokorny
Date: 17 May 2017 07:50:53
Message: <591c391d$1@news.povray.org>
On 05/16/2017 12:37 PM, Bald Eagle wrote:
> I was talking with Stephen about some scene elements,
> and was wondering if there were a way to have directly lighted surfaces of an
> object show one texture, and any unlighted / indirectly lighted surfaces have
> another.
> 
> The obvious way would be to construct the object in 2 parts - split by a plane
> the light source is perpendicular to, and assign each half a different texture.
> Though I was hoping for something a bit more elegant, easier, and allowing a
> smoother transition.
> 
> 
> 
> 
If the shapes / light involved are not too complex, perhaps using the 
new to 3.7.1 user_defined pigment feature and layered textures where the 
transmission value for the top texture{pigment} is set up to depend upon 
the light to shape surface "aoi" relationship...

Bill P.


Post a reply to this message

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