Game Development Community

Transparency Handling

by none · in Torque Game Engine · 01/17/2009 (1:38 pm) · 3 replies

I am making a submarine cockpit,and the window is slightly transparent. I set this in the materials option. When I export with regualr dts or dtsplus exporter, it appears as an untextured mesh. What should I do?

#1
01/17/2009 (3:15 pm)
First make sure that 'window' texture is in the same location as the DTS.

What is the tool you use to make the mesh?
#2
01/18/2009 (8:51 am)
I have made the mesh with various different tools, such as cylinder, box, and I have even make a strip of vertexes and created faces.
#3
01/18/2009 (9:12 am)
Is this TGE or TGEA? Because of the retarded new forum setup I can't really tell anymore. I'll assume TGEA because materials don't really exist in TGE.

From my experience, you need to be using PNGs with an alpha channel representing the transparency effect you want. Photoshop will need a special PNG plugin to do this correctly, or you need to save off the image as a web based PNG. Its some format issue but poorly documented and not always straightforward to get right. That being said, in TGEA transparency worked OK for me.

Now I have had trouble with transparency using TGE 1.5.2. Specifically transparency through multiple surfaces. I spent hundreds of hours trying to fix it, then gave up. Oddly enough when I went back to TGEA they worked just fine. So I suspect its an issue with transparency sorting and the engine, rather then a PNG/exporter problem.

Send me an email at Juason1 at my gmail account if you'd like to discuss it further.