On Samsung Galaxy S2 the sample browser doesn't render correctly (see attachment).
Someone linked to this as a potential fix, was it ever committed to the 1.9 branch?
http://www.ogre3d.org/forums/viewtopic.php?f=21&t=68388
Also, any idea if this was fixed as well:
http://www.ogre3d.org/forums/viewtopic.php?f=21&t=71730
Thanks!
Android: Samsung Galaxy S2 Sample Browser Issue
-
- Ogre Magi
- Posts: 1235
- Joined: Fri Oct 26, 2007 12:36 am
- Location: Mountain View, CA
- x 10
Android: Samsung Galaxy S2 Sample Browser Issue
You do not have the required permissions to view the files attached to this post.
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Android: Samsung Galaxy S2 Sample Browser Issue
Yeah just to be clear the problem is RTSS - you can use glsles optimizer which fixes the rendering but can create crashes on other shaders.
The issuse is that this device do not like the generated shaders at all. Hand written shaders are fine.
The issuse is that this device do not like the generated shaders at all. Hand written shaders are fine.
-
- Ogre Magi
- Posts: 1235
- Joined: Fri Oct 26, 2007 12:36 am
- Location: Mountain View, CA
- x 10
Re: Android: Samsung Galaxy S2 Sample Browser Issue
Ah yeah, I read the posts where you explained that, I didn't know if it was related though.Wolfmanfx wrote:Yeah just to be clear the problem is RTSS - you can use glsles optimizer which fixes the rendering but can create crashes on other shaders.
The issuse is that this device do not like the generated shaders at all. Hand written shaders are fine.
By that I assume you mean various non-RTSS shaders (like Compositor/Cubemapping)... In which case that doesn't matter for me, I don't use any custom shaders, only what is provided by RTSS.can create crashes on other shaders
How do I go about using the optimizer? Is there a CMake flag for it?
Thanks!
-
- OGRE Team Member
- Posts: 1525
- Joined: Fri Feb 03, 2006 10:37 pm
- Location: Austria - Leoben
- x 99
Re: Android: Samsung Galaxy S2 Sample Browser Issue
yes i provided precompiled deps for the optimizer you just need to enable it via a flag
-
- Halfling
- Posts: 64
- Joined: Wed Oct 24, 2012 10:59 am
- x 12
Re: Android: Samsung Galaxy S2 Sample Browser Issue
See this post for a howtoWolfmanfx wrote:yes i provided precompiled deps for the optimizer you just need to enable it via a flag
-
- Ogre Magi
- Posts: 1235
- Joined: Fri Oct 26, 2007 12:36 am
- Location: Mountain View, CA
- x 10
Re: Android: Samsung Galaxy S2 Sample Browser Issue
Thanks. Simply adding OGRE_CONFIG_ENABLE_GLES2_GLSL_OPTIMISER=1 worked for me. Runs fine on S2 now. 
