Alpha channel from texture is being ignored
Posted: Thu Oct 16, 2008 18:06
This is my image:
THis is my Imageset:
The problem is that when this image is layered over an image button with a no-frame static image the alpha is ignored and the image is drawn as fully opaque. If I set an alpha on the static image control it's used universally for the whole image and still ignores the texture alpha.
Is something wrong with my image, or maybe with my Imageset? I have tried both PNG and TGA versions of the file, and both files look right in Photoshop. (And you can even see the alpha working on the embedded image above.)
Joe
THis is my Imageset:
<Imageset Name="Cooldowns" Imagefile="Cooldowns.png" NativeHorzRes="800" NativeVertRes="600" >
<Image Name="0" XPos="0" YPos="0" Width="32" Height="32" />
<Image Name="1" XPos="32" YPos="0" Width="32" Height="32" />
...
<Image Name="15" XPos="96" YPos="96" Width="32" Height="32" />
</Imageset>
The problem is that when this image is layered over an image button with a no-frame static image the alpha is ignored and the image is drawn as fully opaque. If I set an alpha on the static image control it's used universally for the whole image and still ignores the texture alpha.
Is something wrong with my image, or maybe with my Imageset? I have tried both PNG and TGA versions of the file, and both files look right in Photoshop. (And you can even see the alpha working on the embedded image above.)
Joe