Examle - http://www.jpct.net/wiki/index.php?title=Basic_shadow_mapping
Hello Egon.Programma does not work, throw out of the program if commenting on the shade of the receiver line - //sh.addReceiver(plane), then the program is run without shadows.
I work in Eclipse, I put a version of android 4.1 and above.
:'( :'( :-\I realized, it does not work on an emulator Genymotion, running on devices.
It's this line:
10-26 22:39:11.929: W/EGL_genymotion(1382): eglSurfaceAttrib not implemented
If you google for it, you'll find some more or less promising solutions. Maybe one them will work for you!?
That's why I never use emulators. Especially when it comes to OpenGL, you are getting an experience that just doesn't exist in the real world. It's not really an emulation of anything physical but an emulation of a non-existing device, which doesn't really help that much IMHO.