Post: "No depth buffer attachments on FBOs on Nexus 7 (Tegra 3)?" (http://www.ogre3d.org/forums/viewtopic. ... 53#p519467)
My version with these modifications work well on many devices (!!!):
- LG x-145 (Mali400)
- HTC One X (Tegra3)
- some Samsung (maybe Adreno 225

- some Lenovo
- some Chinese Android smartphone (maybe Mali400

- etc...
But in this device - Samsung Galaxy Tab 4 (SM-T331) - does not work as expected!!!

I was most interested in an sample - Character.
Dear developers, please explain what is really happening or could happen.
I think the problem in the depth buffer.
Maybe if you run it without my modification (clean OGRE v1.9 (rev. 7423) ), it will work fine, but then you can forget about support for TEGRA3
My steps: (see screnshots)
1. Run OGRE
2. Choose and run a Character Sample
3. See "big black shadow" under the Ogre "Sinbad" character (



5. Return to OGRE
6. See and enjoying good rendered shadow under character (





7. Stop Sample
8. Start Character Sample again, and see "big shadow" again (



My test VIDEO for SAMSUNG GALAXY TAB 4 (SM-T331):
(Sorry for the Russian voices in the background

NOTE: running my modification of Ogre v1.9 rev.7423 (Tegra3 fix)
FOR COMPARISON:
My test VIDEO of HTC One X (GPU Tegra 3) and LG X145 (GPU Mali400) : (good & almost OK)
NOTE: running my modification of Ogre v1.9 rev.7423 (Tegra3 fix)
NOTE: running my modification of Ogre v1.9 rev.7423 (Tegra3 fix)
Technical info / Summary:
Target Ogre Samples: Character, Skeletal Animation, Fresnel
Device: Samsung Galaxy Tab 4 (SM-T331)
Device GPU: Adreno 305
Device OS Version: Android 4.4.2
Ogre version: branch "v1-9"
Ogre revision : 7423
Ogre modification: http://www.ogre3d.org/forums/viewtopic. ... 53#p519467
Android NDK version : r10e
Android build target : armeabi-v7a
Android build type : Release (-O3 flag and some flags like -fno-strict-aliasing -fomit-frame-pointer -DNDEBUG etc. ... )
Android STL : stlport_static
OS: xubuntu 14.04
Again, my modification on other devices works wonderfully! (Including TEGRA3)
Thanks
