Hi!
I'm trying to display an image on a static image by using createImagesetFromImageFile. The problem is that it's an irregular shape so basically it should be transparent in the part where its transparent. It doesn't appear like this, however. Instead of being able to see through the transparent parts it just appears black. I've tried doing an alpha channel with both png and tga but I can't get it to work. Looking through the forums all I can find is how to set the overall alpha for the image but this doesn't apply in this case because some parts should be completely opaque and some parts completely transparent. Any help would be appreaciated. I have a feeling there's a very simple solution that I'm just not getting!
Static Image transparency problem
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Hi,
Did you disable the background on the static image?
(Or use a similar property if you have it in a layout file).
CE.
Did you disable the background on the static image?
Code: Select all
staticImage->setProperty( "BackgroundEnabled", "False" );
(Or use a similar property if you have it in a layout file).
CE.
Who is online
Users browsing this forum: No registered users and 36 guests