POV-Ray : Newsgroups : povray.newusers : Troubleshooting ambient light : Re: Troubleshooting ambient light Server Time
2 Jul 2024 21:54:10 EDT (-0400)
  Re: Troubleshooting ambient light  
From: emchristiansen
Date: 6 Jan 2011 16:00:01
Message: <web.4d262cfe37df966632b5df30@news.povray.org>
Christian Froeschlin <chr### [at] chrfrde> wrote:
> > I'm a very new user, and I'm having trouble getting ambient light to appear in
> > my scene. The only thing in my scene is an object that I created using another
> > tool. The object shows up fine, as long as I shine a light on it. I just can't
> > figure out how to get ambient light to "shine" on it.
>
> Does the *.inc file already contain texture information?
> Note that you can't "shine" ambient light on existing textures
> if they explicitely set ambient to 0, you will need to modify
> them in place.

Hi Christian,

You were right, in that ambient lighting had been explicitly set to zero for
each texture in the .inc file. I replaced "ambient rgb <0,0,0>" with "ambient
rgb <1,1,1>", and I'm good to go. Thanks!


Post a reply to this message

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