I am new to 3D world and Ogre3d. thus please don't expect a profi
I have download Ogre 1.9 Android SDK and run GLES1 demo on my Samsung Galaxy S without any problem.
running the GLES2 demo I got a red background and the sindbad model it seems corrupted. it display as a ghost or a shadaw which you can't identify anything only there is something in the screen.
My question is it a problem with my device it couldn't run the shader scripts?
and in basic tutorial in ogre they didn't use Shader at all but why we should use it with GLES2?
because when disable Shader and didn't using RTSS I got only a red background.
Why using RTShader system with Android 2.3.3
-
- Gnoblar
- Posts: 7
- Joined: Fri Feb 28, 2014 9:45 am
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: Why using RTShader system with Android 2.3.3
GLES2 requires that every object in your scene have an associated shader. So you can either use RTSS, or you can create your own materials with attached shaders. Otherwise you won't see anything in the scene.
Also the red background is normal. The sinbad model not looking correct is not normal.
Also the red background is normal. The sinbad model not looking correct is not normal.
-
- Gnoblar
- Posts: 7
- Joined: Fri Feb 28, 2014 9:45 am
Re: Why using RTShader system with Android 2.3.3
I tested also the GLES2 sample on my samsung galax tab 2 10.1 which run android 4.2 and got the same result.
- c6burns
- Beholder
- Posts: 1512
- Joined: Fri Feb 22, 2013 4:44 am
- Location: Deep behind enemy lines
- x 138
Re: Why using RTShader system with Android 2.3.3
A lot has happened since April 2013. Might not be a bad idea to build v1-9 head
-
- Gnoblar
- Posts: 7
- Joined: Fri Feb 28, 2014 9:45 am
Re: Why using RTShader system with Android 2.3.3
you are right I build a fresh build of the head and use it for demo and every thing work well now.
thanks
thanks