Sign in to follow this  

Multiple Lights flickering problem - Iphone4s, Ipad2/3

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this