www.jpct.net
jPCT-AE - a 3d engine for Android => Support => Topic started by: Terrabus on July 09, 2012, 03:55:27 pm
-
I'm hoping to do some independent but parallel fade transitions on multiple billboards sharing a single texture in GLES 1.0.
Does this sound doable? If so, can someone please point me in the right direction.
This is (not) exactly what I'm trying to do:
http://jsfiddle.net/Ar96M/ (http://jsfiddle.net/Ar96M/)
-
No problem. Object3D has this method to set the transparency: http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Object3D.html#setTransparency(int) (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Object3D.html#setTransparency(int))
You might as well consider adjusting the default values for the transparency calculations in Config (glTransparencyOffset and glTransparencyMul): http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Config.html#glTransparencyOffset (http://www.jpct.net/jpct-ae/doc/com/threed/jpct/Config.html#glTransparencyOffset)
-
That worked. I misunderstood what that function did. Thanks again EgonOlsen!