ShadowHelper?

Started by doc.ios, October 28, 2010, 06:58:16 PM

Previous topic - Next topic

doc.ios

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?

EgonOlsen

#1
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: