/* attempt to deal with prototype, bootstrap, jquery conflicts */ /* for dropdown menus */

Jump to content

Image of the Day

Day 17 -- a bunch more tools join the table :) #blender3d #screenshotsaturday #itssaturdaysomewhere #lowpoly #3D https://t.co/CYJucn0Lfv
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net's newsletters to receive the latest updates and exclusive content.


Sign up now

Multiple Lights flickering problem - Iphone4s, Ipad2/3

4: Adsense

Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.


  • You cannot reply to this topic
1 reply to this topic

#1 masterbubu   Members   

181
Like
0Likes
Like

Posted 02 August 2012 - 04:54 AM

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.

Attached Thumbnails

  • 20120802_104052.jpg


#2 xynapse   Members   

151
Like
0Likes
Like

Posted 04 August 2012 - 12:56 PM

you better, debug the frame with xcode frame grabber and check whats going on step by step..
your description doesnt say anything ...
perfection.is.the.key




Old topic!

Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.