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

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?
0 x

User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
Contact:

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

Post by masterfalcon » Sun Aug 11, 2013 9:09 am

Did you set up the RTSS? It's necessary for fixed function emulation.
0 x

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

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.
0 x

User avatar
masterfalcon
OGRE Team Member
OGRE Team Member
Posts: 4270
Joined: Sun Feb 25, 2007 4:56 am
Location: Bloomington, MN
Contact:

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

Post by masterfalcon » Sun Aug 11, 2013 5:32 pm

Check out SampleBrowser.h. The ShaderGeneratorTechniqueResolverListener class, initializeRTShaderSystem and finalizeRTShaderSystem functions are most important.
0 x

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 » Sun Aug 11, 2013 10:38 pm

Thanks, will do.
0 x

Post Reply