Multiple Lights flickering problem - Iphone4s, Ipad2/3,
Members - Reputation: 177
Posted 02 August 2012 - 04:54 AM
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.