Ogre v1.8 + GLES2 Black screen on iOS6

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
Post Reply
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Ogre v1.8 + GLES2 Black screen on iOS6

Post by pratty70 »

Back again after much time off from playing around with iPhone Ogre stuff.

Resurrected an old iPhone project that was working fine on Ogre v1.7.

Updated to latest v1.8 from the repository. GLES works fine (although specifying 2d 0 at the end of a texture in the material scripts caused it to always render white!??)

Trying GLES2 results in just a black screen, although the debug shows everything loading in fine.

I realise there could be a multitude of issues, but any thoughts?
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre v1.8 + GLES2 Black screen on iOS6

Post by masterfalcon »

Did you set up the RTSS? It's necessary for fixed function emulation.
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Re: Ogre v1.8 + GLES2 Black screen on iOS6

Post by pratty70 »

No. Excuse my ignorance but how do I do that? Just had a quick look through the Wiki, but couldn't find any reference to it.
User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
x 126
Contact:

Re: Ogre v1.8 + GLES2 Black screen on iOS6

Post by masterfalcon »

Check out SampleBrowser.h. The ShaderGeneratorTechniqueResolverListener class, initializeRTShaderSystem and finalizeRTShaderSystem functions are most important.
pratty70
Gnome
Posts: 341
Joined: Thu May 13, 2004 4:52 pm
Location: Wales - UK

Re: Ogre v1.8 + GLES2 Black screen on iOS6

Post by pratty70 »

Thanks, will do.
Post Reply