My object is a humanoid with a texture on him.
If I have:
TransparencyAttributes transAttrib=new TransparencyAttributes(TransparencyAttributes.BLENDED,0);
myAppearance.setTransparencyAttributes(transAttrib);
My Shape has very strange transparency with some things showing and some things not, while commenting that out makes him look fine (without any transparency). Why should a value of 0 make him look wierd? My ‘goal’ is to mix transparency from a given value of 0 (No transparency) to 1 (totally invisible).
Note:
TransparencyAttributes t_attr =
new TransparencyAttributes(
TransparencyAttributes.BLENDED,
1 (or) 0,
TransparencyAttributes.BLEND_SRC_ALPHA,
TransparencyAttributes.BLEND_ZERO);
As well is not working for me, producing the exact same effect