Game Development Community

.alpha not supported yet?

by Christian Beaumont · in Torque Game Engine Advanced · 10/25/2004 (8:07 pm) · 5 replies

Hello,

I'm just playing with a basic GUI that uses a .alpha as a transparency mask. The transparency mask isn't working. Is this a known issue right now?

best wishes,
Christian

#1
10/26/2004 (9:22 pm)
Should work OK, are you using a .png texture with an alpha channel? Does the same GUI work in TGE?
#2
10/27/2004 (10:00 am)
I thought we could only get tranparancy by stating it in the material datablock?
#3
10/27/2004 (8:01 pm)
Actually I was trying to use 2 .jpg's, one with the image data and a second containing the alpha channel. It did work in TGE.

I guess it makes sense if it is done a different way now, the only issue would be backwards compatibility which probably isn't important for this.

Christian
#4
10/31/2004 (8:19 am)
Westy - yes that's true for objects using Materials, but the GUI's are fixed function and use standard GFX calls.

Christian - that works? I didn't think TGE could do that. You'll need to use .pngs with an alpha channel for TSE.
#5
10/31/2004 (9:37 am)
What GUI control are you using? In general TGE doesn't use seperate images for different channels... Or are you using a special image loader resource?