FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

SIO2widgets with transparent backgrounds

2 posters

Go down

SIO2widgets with transparent backgrounds Empty SIO2widgets with transparent backgrounds

Post  meteors Mon Feb 09, 2009 6:01 pm

Hi all,

When I use .TGA or .PNG and attempt to use a pixmap with a transparent background, it comes out looking terrible.

Is there some trick? What do you guys use to export your pixmaps with transparent backgrounds?



Best,
-joshua
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

SIO2widgets with transparent backgrounds Empty Re: SIO2widgets with transparent backgrounds

Post  sio2interactive Mon Feb 09, 2009 7:08 pm

Its probably because you didn't set the material blending mode Wink
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

SIO2widgets with transparent backgrounds Empty Re: SIO2widgets with transparent backgrounds

Post  meteors Mon Feb 09, 2009 7:51 pm

Yes, that was it of course! Thanks!!!!

I forgot:

//enable alpha transparency
my_material->blend = SIO2_MATERIAL_ALPHA;



-j
meteors
meteors

Posts : 241
Join date : 2008-11-08
Location : Sunny Florida

Back to top Go down

SIO2widgets with transparent backgrounds Empty Re: SIO2widgets with transparent backgrounds

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum