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.

alpha blending manually

3 posters

Go down

alpha blending manually Empty alpha blending manually

Post  oioioi Thu Dec 11, 2008 9:02 am

How can I use alpha blending on my tga textures? Do I use sio2ImageSetAlpha()? I have tried this but can't get it to work

Thanks!

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

alpha blending manually Empty Re: alpha blending manually

Post  meteors Thu Dec 11, 2008 4:12 pm

Did you call this for your material:

_SIO2material->blend = SIO2_MATERIAL_ALPHA;



-j
meteors
meteors

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

Back to top Go down

alpha blending manually Empty Re: alpha blending manually

Post  oioioi Fri Dec 12, 2008 8:23 am

How can I apply material to a texture?

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

alpha blending manually Empty Re: alpha blending manually

Post  matt Fri Dec 12, 2008 1:56 pm

A material "has a" texture. So basically if you're doing it programmatically, you create a material, load an image or assign an image from the resource to the materials image attribute (_SIO2image[0] or something like that), and that's basically it.

Best,
Matt

matt

Posts : 155
Join date : 2008-09-30

http://elfrun.net

Back to top Go down

alpha blending manually Empty Re: alpha blending manually

Post  oioioi Sat Dec 13, 2008 4:21 am

Thanks! I will try that

oioioi

Posts : 136
Join date : 2008-12-02
Location : Norway

Back to top Go down

alpha blending manually Empty Re: alpha blending manually

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top


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