Hi,
This is not directly a Chipmunk question.. When I run the Space Patrol example with my iPad 3 it runs just fine, but when running on iPad Air the background parallax is very jumpy. It shakes around. I use the similar parallax in my game and I haven't figured out what causes it. Any ideas?
Thanks!
Space Patrol example and iPad Air
-
- Posts: 3
- Joined: Tue Oct 08, 2013 8:55 am
- Contact:
- slembcke
- Site Admin
- Posts: 4166
- Joined: Tue Aug 14, 2007 7:13 pm
- Contact:
Re: Space Patrol example and iPad Air
Probably a shader precision issue. I just picked up a retina mini a couple days ago and a bunch of my old shaders are broken. I'm guessing that something in the new GPU is computed with less precision than before.
Do you know about the ES frame capture feature of Xcode? It makes it pretty easy to troubleshoot shaders. You can edit them on the fly and poke around with the shader easily.
Do you know about the ES frame capture feature of Xcode? It makes it pretty easy to troubleshoot shaders. You can edit them on the fly and poke around with the shader easily.
Can't sleep... Chipmunks will eat me...
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
Check out our latest projects! -> http://howlingmoonsoftware.com/wordpress/
-
- Posts: 3
- Joined: Tue Oct 08, 2013 8:55 am
- Contact:
Re: Space Patrol example and iPad Air
Didn't know that. Thanks for the hint!
That was the problem. I had to change the precision of the parallax shader variables from mediump to highp. Now it runs smoothly.
That was the problem. I had to change the precision of the parallax shader variables from mediump to highp. Now it runs smoothly.
Who is online
Users browsing this forum: No registered users and 11 guests