jPCT-AE - a 3d engine for Android > Support

transparency

(1/6) > >>

raft:
i've problem with transparent objects on nexus one. they seem rigid, not transparent.

this is how it looks on emulator:


and on N1:


it was ok on G1 too. is there anything i can try ?

EgonOlsen:
Strange...is this always the case or just on some objects? Have you tried to use additive transparency instead? Does an alpha channel in the texture has any effect?

raft:
seems as happens for all objects. alpha channel in texture seem to have effect
additive transparency also works, as in the screenshot

EgonOlsen:
What kind of effect does a texture's alpha has? Does it help to make things transparent even in default mode? What's the value you are using for transparency?

raft:
after you asked, i applied color-to-alpha conversion in gimp. i'm not sure what it did exactly ::) i'll send it with email
yes, it works in default mode. i didnt try additive mode for that.

values are below. but it didnt working with default Config values either


--- Code: ---Config.glTransparencyMul = 1f / 1000;
Config.glTransparencyOffset = 0.0f;

Object3D.setTransparency(500);         
--- End code ---

Navigation

[0] Message Index

[#] Next page

Go to full version