Game Development Community

Alpha and DTS

by AIS-RR (#0001) · in Torque Game Engine Advanced · 04/29/2008 (2:24 pm) · 3 replies

I have been looking around and I can't find any solution to this problem but I can't get the alpha channels working on dts objects. Is the only answer to create a material in the script files and do a mapto?

thanks in advance.

#1
04/29/2008 (2:47 pm)
I believe so. You need to add it to your materials.cs.
#2
01/16/2009 (5:39 pm)
Also if your using PNG format and photoshop then you will need the PNG exporter. The one that comes with photoshop will not export them properly.
If you cannot find it then let me know and I will email it to you.
#3
01/16/2009 (5:47 pm)
The exporter in photoshop works fine. You do have to be careful, though. Be sure you don't have a background layer (even if it's turned off, you still need to delete it), and also export with "Save for Web and Devices", selecting PNG-24 as the type and the "transparency" checkbox on.

Once you do this, you will have no problem with Photoshop PNG files. I use it exclusively and have had no problems.