I've created a custom text window GUI and I've set it up so that the borders of the box have a drop shadow. (that is, when you see the box in game, there is a drop shadow around the edges of the box)
However, i get the solid black border thing going on when I test. It's as if the text window GUI can't recognize the semi-transparent shadow.
Can this be fixed?
I'm pretty sure there were issues with having alpha channel GUI button images.
Try setting an alpha channel sprite as GUI background image, too.
Also, just to be sure, your game is set to 32bit, right?
Quote from: Khris on Fri 18/11/2011 14:49:01
I'm pretty sure there were issues with having alpha channel GUI button images.
Try setting an alpha channel sprite as GUI background image, too.
Also, just to be sure, your game is set to 32bit, right?
Yes, it's 32 bit. I'm not sure why you want me to set an alpha channel sprite as the GUI background image. The background for the GUI (where the text will overlay) needs no transparency. The borders are what need the transparency. And they get transparency. But the semi-transparent pixels (the drop shadow around the borders) appears as solid black when the game is tested.
Quote from: DrewCCU on Fri 18/11/2011 16:56:40I'm not sure why you want me to set an alpha channel sprite as the GUI background image. The background for the GUI (where the text will overlay) needs no transparency.
I realize that, it's just that I remember something about combining non-transparent and transparent sprites breaking transparency.
The background image doesn't need actual transparency, as long as it has an alpha channel.
I could be on the wrong track here though, nevertheless it's a known issue and there should be several threads about this already.