Alpha on models

I have two .egg files of which I manually altered their .
For one I set the alpha to 0.75, the other 0.5.
When I place the model with the lower alpha in front of the other. I can’t see the object behind.

I tried using setTransparency, but this only uses 0 or 1 with no in-between.

I tried setColor using an alpha, but that doesn’t work either.

What’s the proper way to make a model transparent or partially invisible?


make sure you have no material on the object because then it will override.

I do have the model textured.
Is there any way I can get around this?

Materials and textures are different from each other. Textures describe how the object is “painted” while a material describes what the surface looks like. You should be fine as long as you don’t have a node in your egg file. Try Treeform’s code and see if it works first.

It worked!!!
Thanks treeform, and ZeroByte, for your help.
I appreciate very much the quick replies, and the info. :smiley: