Jump to content
  • Advertisement
Sign in to follow this  

Multiple Lights flickering problem - Iphone4s, Ipad2/3

This topic is 2202 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts


I have a problem with multiple lights which only happens with the latest Apple's devices such as Iphone 4s, Ipad2/3.
For older devices it is working perfectly ( such as iphone 4 and ipod ).

the problem is the flickers of the scene ( see attached ).

I have edit the shader, and change the loop:
for( int i = 0; i < NUM_LIGHTS; ++i ) --> for( int i = 0; i < 1; ++i ) and it worked ( but with only 1 light).

then I changed the index if the light ( just to see if it is not a light problem ), and it worked for the second light as well.

please note that this code is well working for all Android devices as well.

Any help would be grateful.


Share this post

Link to post
Share on other sites
you better, debug the frame with xcode frame grabber and check whats going on step by step..
your description doesnt say anything ...

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!