Object3D.setTransparency(int trans) only seems to work from 0 to 15, anything over 15 defaults to the transparency of 15.
The difference between each level is quite a big jump. I need a smooth transition of a textured plane.
Is there a way to vary the transparency to 256 levels or a floating point value?
Can we add a new function that takes a float from 0.0 to 1.0? i.e. Object3D.setTransparency(float fTrans);
ps. The image already has alpha so I'm using the alpha flag when creating the texture (boolean useAlpha).
There are two attributes for transparency. trans=offset+objTrans*mul
Config.glTransparencyMul
Config.glTransparencyOffset
ok thanks I'll give them a try,
A little background on this: The default setting isn't that way because i thought that it's particularly great that way but because the desktop version uses the same settings. And the reason for this is the software renderer. It has less precision in transparency and the hardware renderer reflects this by default. And because the Android version should be compatible to the desktop version as much as possible, this default setting hasn't changed.
ok thanks guys. Setting both values to 0.0039f seems to do the trick giving me 256 levels.