POV-Ray : Newsgroups : povray.general : forced perception. : Re: forced perception. Server Time
1 Aug 2024 14:30:35 EDT (-0400)
  Re: forced perception.  
From: Slime
Date: 19 Sep 2005 00:45:50
Message: <432e427e$1@news.povray.org>
> Hi. I am doing a pic in which a photo of a mountain range is used as a
> background. Trouble is with shadows. A large object throws a shadow on the
> ground which is ok. However it is also throwing a shadow onto the
> background mountain range. Is there some way to prevent the shadow from
> hitting it while still remaining on the ground?

You can force an object to ignore light sources completely with

finish {diffuse 0 ambient 1}

If you want to alter the color of the image (to make it match the rest of
the scene's lighting, for instance), you can change "ambient 1" to "ambient
<r,g,b>", or just change the 1 to a lower value.

 - Slime
 [ http://www.slimeland.com/ ]


Post a reply to this message

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