jPCT-AE - a 3d engine for Android > Support
how to make an object inside the object visible
(1/1)
zerofox:
Hi,
Say i create a cube, inside the cube there is an object. I want the object inside the cube visible. i already try with texture qith alpha transparency. also try setting the cube tranparency to 50-100, still doesnt work. Anyone can help?
Thomas.:
If you have texture with alpha, you have to use constructor Texture(InputStream is, boolean useAlpha). And for transparency are in Config two items, Config.glTransparencyOffset and Config.glTransparencyMul. With default settings you can try something around 10 in Object3D.setTransparency(10).
Navigation
[0] Message Index
Go to full version