Game Development Community

Why the DTS loss its transparence

by ChenJian · in Torque Game Engine Advanced · 06/11/2007 (1:59 am) · 3 replies

I applied a tree in the TGEA, and used some transparent png files as its leaves. However, after I loaded the model, the result was out of my expectation.

#1
06/18/2007 (10:21 am)
Does the tree have a materials.cs file associated with it?
#2
06/23/2007 (11:27 pm)
This engine does not support the newer PNG transparency type by default...it does support the png alpha mask transparency. However, you still need to make a materials.cs file that associates the texture material commands that tell the engine to pay attention to the image alpha values.

The superpng plugin is a good start...then review the materials.cs file setup.

...and 1 last thing, 'searching' is good...I am sure this question was answered loads of times by now ;)
#3
06/24/2007 (7:38 pm)
Thank you all. I have fixed the problem :)