The 1.1x Android demos like HLMS and Image Based Lighting looks great! The zoom touch is nice and pop-up warnings on startup is now gone (or I'm building 1.9 differently)
Comparing to the 1.9x version, I noticed some samples are missing some shader features on 1.1x/1.12):
- Jaquia Animation demo does not have shadows, Sinbad demo shadow works.
- Fresnel Water demo looks flat (shaders not working?)
- GUI effects and progress bar looks off.
Is this just related to not including glsl-optimizer? I noticed building without this produces these issues and effect on Android Ogre 1.9x, at least on some devices that I have tested.
Ogre 1.1x Shaders on Android/iOS
- blitzcoder
- Halfling
- Posts: 99
- Joined: Wed Oct 09, 2019 4:06 am
- x 18
- Contact:
Ogre 1.1x Shaders on Android/iOS
New Blitz3D/BlitzBasic/BlitzMax Home - https://blitzcoder.org
-
- OGRE Team Member
- Posts: 1994
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1074
- Contact:
Re: Ogre 1.1x Shaders on Android/iOS
some samples mess up the global state, so you should try to launch them individually after starting the sample browser.
However it may very well be that some of the shaders do not work on your device. The GLES drivers are known for be notoriously bad and the "simplified" shaders of glsl-optimizer tend to work better.
Attach your device to android-studio and watch the log for error messages to investigate.
However it may very well be that some of the shaders do not work on your device. The GLES drivers are known for be notoriously bad and the "simplified" shaders of glsl-optimizer tend to work better.
Attach your device to android-studio and watch the log for error messages to investigate.
- blitzcoder
- Halfling
- Posts: 99
- Joined: Wed Oct 09, 2019 4:06 am
- x 18
- Contact:
Re: Ogre 1.1x Shaders on Android/iOS
Awesome! I hope that is the case as well with these 1.1x f-droid demos. As I have mentioned I got similar results trying out the 1.9x apks before finding out that there is this glsl-optimizer tool and then these shader issues disappeared and yes it work better. Thanks.
New Blitz3D/BlitzBasic/BlitzMax Home - https://blitzcoder.org
- blitzcoder
- Halfling
- Posts: 99
- Joined: Wed Oct 09, 2019 4:06 am
- x 18
- Contact:
Re: Ogre 1.1x Shaders on Android/iOS
Update: I tried the 1.11.1 demo apk on my very old Mali GPU entry level device and worked without those issues. It seemed it has problems with my newer Adreno based device which did tend to work better with the optimizer, at least with my 1.9x test build. I still need to try it with optimizer on 1.1x.
HLMS demo crashes but wow I also did not expect the IBL demo to work on my old device so this is really awesome.
HLMS demo crashes but wow I also did not expect the IBL demo to work on my old device so this is really awesome.
New Blitz3D/BlitzBasic/BlitzMax Home - https://blitzcoder.org