Can one set the opacity of an object, not texture in GLES 1.0?

Started by Terrabus, July 09, 2012, 03:55:27 PM

Previous topic - Next topic

Terrabus

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/

EgonOlsen

No problem. Object3D has this method to set the transparency: 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

Terrabus

That worked. I misunderstood what that function did. Thanks again EgonOlsen!