Recommended Posts

Hi... i''m creating a pub scene for my school project. i have problems with flickering when i use spotlights. when i move around the scene, certain objects will flicker (when I''m still its looks ok). How do I get rid of that flickering?
When I use an ambient light throughout the whole room, it works fine. anyone can help? thanks in advance!

Share this post

Link to post

Share on other sites

flicker as in turn on and off? or as in something like tearing or some appearing in front?

In the above situations in order, the problems are usually:a) More lights than your opengl implementation can handle. The minimum required (and guarenteed amount) is 8 lightsb) tearing usually happens for lots of reasons. vsync can help, as can using a full screen mode, double buffering and alot of other thingsc) your depth buffer isn''t accurate enough. if you are using a range of 1 to 10000, but only need 1 to 100, then use 1 to 100.