Author Topic: ShadowHelper  (Read 392 times)

Offline aleks1283

  • byte
  • *
  • Posts: 4
    • View Profile
ShadowHelper
« on: October 27, 2016, 01:00:42 am »
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.
« Last Edit: October 27, 2016, 01:15:32 am by aleks1283 »

Offline aleks1283

  • byte
  • *
  • Posts: 4
    • View Profile
Re: ShadowHelper
« Reply #1 on: October 27, 2016, 01:21:57 am »
 :'( :'( :-\I realized, it does not work on an emulator Genymotion, running on devices.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11771
    • View Profile
    • http://www.jpct.net
Re: ShadowHelper
« Reply #2 on: October 27, 2016, 08:02:51 am »
It's this line:

Code: [Select]
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.