Lights - face flicking

Go down

Lights - face flicking

Post  eloasis on Sun Sep 27, 2009 12:11 am


Modifying the tutorial 15 model by changing some lights I get flicking faces (only the lighting, the material is fine) some times when I move the camera.
Which could be the reason?



Posts : 16
Join date : 2009-09-10

View user profile

Back to top Go down

Re: Lights - face flicking

Post  sio2interactive on Sun Sep 27, 2009 11:15 pm

Can it be that the cstart of the camera is a small value? Try to put a value like 1.0 for cstart and 200.0 for cend. This kind of ratio gives good results. If you want an example of dynamic lights applied on a scene, check the MeditationGarden source. This will help you alot about how to build and prepare your scene (and code) for proper lighthing using SIO2.

SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch

Posts : 1526
Join date : 2008-08-26
Age : 39
Location : Shanghai

View user profile

Back to top Go down

Back to top

- Similar topics

Permissions in this forum:
You cannot reply to topics in this forum