Open GL ES 2.0 Iphone Blank Screen

Discussion of issues specific to mobile platforms such as iOS, Android, Symbian and Meego.
raulteixeira
Gnoblar
Posts: 2
Joined: Sun Nov 18, 2012 2:29 pm

Open GL ES 2.0 Iphone Blank Screen

Post by raulteixeira »

I am a complete NEWBIE to OGRE and am trying to follow along the tutorials building for an iphone.
I have successfully built a working "basetutorial" app for IPHONE with OGRE 1.8.2 PREBUILT SDK (for iphone) and have been able to follow along the tutorials without problem using OPEN GL ES 1 rendering system. I decided to try switching to Open GL ES 2.0 (to later try some shader programs), and now, although everything compiles (and links) correctly, the screen shows up blank (black). If I simply change back to 1.0, my Ninja mesh reappears in all his glory.
What I did in order to change rendering systems was just load GLES2Plugin instead of GLESPlugin. I also changed my library search paths and included the libRenderSystem_GLES2Static.a library in my "link binary with libraries" build phase to get everything built.
I realize that OPENGL 2.0 requires shader programs in order to render, but I thought maybe OGRE would give me some defaults (sort of like GLKBaseEffect). Anyway, am totally off here... can someone point me in the right direction.
raulteixeira
Gnoblar
Posts: 2
Joined: Sun Nov 18, 2012 2:29 pm

Re: Open GL ES 2.0 Iphone Blank Screen

Post by raulteixeira »

Hey guys... sorry for the question. After reading a bit more of the docs, I realized my problem was ignorance as to the Shader System. Setup the RT Shader system and all is well. The ninja is once again happily standing on my iPhone, now with OpenGL ES 2.0 rendering system.