Author Topic: ShadowHelper?  (Read 1321 times)

Offline doc.ios

  • byte
  • *
  • Posts: 4
    • View Profile
ShadowHelper?
« on: October 28, 2010, 06:58:16 pm »
Sorry, dumb newbie question.  Tired and late too - so not too bright right now.

I wanted to put shadows in.  But I can't find the ShadowHelper class.  Is it included in the Android library?  What's the import path?  Or is there another recommended way to do shadows on an Android device?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 11748
    • View Profile
    • http://www.jpct.net
Re: ShadowHelper?
« Reply #1 on: October 28, 2010, 08:57:55 pm »
No, it's not included, because OpenGL ES 1.0 and 1.1 don't support the required features. OpenGL ES 2.0 does, but it's currently not supported by jPCT-AE nor by all Android versions/chipsets. I suggest to use simple blob shadows instead, i.e. an alpha blended spot below a character...just like Quake3 did it by default.

Example of a blob shadow:
« Last Edit: October 28, 2010, 09:03:24 pm by EgonOlsen »