Page 1 of 1

Ogre v1.8 + GLES2 Black screen on iOS6

Posted: Sun Aug 11, 2013 8:34 am
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?

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

Posted: Sun Aug 11, 2013 9:09 am
by masterfalcon
Did you set up the RTSS? It's necessary for fixed function emulation.

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

Posted: Sun Aug 11, 2013 9:48 am
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.

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

Posted: Sun Aug 11, 2013 5:32 pm
by masterfalcon
Check out SampleBrowser.h. The ShaderGeneratorTechniqueResolverListener class, initializeRTShaderSystem and finalizeRTShaderSystem functions are most important.

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

Posted: Sun Aug 11, 2013 10:38 pm
by pratty70
Thanks, will do.