• Advertisement
Sign in to follow this  

Multiple Lights flickering problem - Iphone4s, Ipad2/3

This topic is 2086 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

Hi,

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.

Tnx.

Share this post


Link to post
Share on other sites
Advertisement
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