dim3 Forum

Full Version: Transparent texture problem
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
My water and my metal-with-holes textures are annoying me. I have the metal on top of the water but the water looks on top in the engine. How do I get around this cos it quite annoying! lol
Make them cut-outs. Search the forums on how to do that. Its there.
That's a known problem.
The engine doesn't know which segment to render first, since they both have transparent parts.
You could try to make the alpha of the "metal with holes" texture a cut out.
You have to make sure that the alpha channel only contains black or white, not grey.
Look at this: http://img527.imageshack.us/img527/9740/...e42ie1.png
In the first picture is an image without any transparency.
Now I add an alpha channel (Picture 2), which makes it look like Picture 3.
As you can see, there are different greys in the alpha channel. That's what the engine has a problem with.
In the 4th picture you can see that the alpha channel only consists of black and white, resulting in picture 5.
A "metal-with-holes" texture can be done with cut-outs.
http://img263.imageshack.us/img263/7269/...lessb5.png (A really quick example texture with holes in it, sry) Smile
If you don't know how to make it a cut-out, just send me a pm with a link to the texture, or e-mail it to. (erik_kemmer -youknowwhatgoeshere- yahoo -dot- de)

EDIT: @teh1ghool: Guess I wasn't fast enough. Smile
Reference URL's