alpha blending manually
3 posters
alpha blending manually
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!
Thanks!
oioioi- Posts : 136
Join date : 2008-12-02
Location : Norway
Re: alpha blending manually
Did you call this for your material:
_SIO2material->blend = SIO2_MATERIAL_ALPHA;
-j
_SIO2material->blend = SIO2_MATERIAL_ALPHA;
-j
meteors- Posts : 241
Join date : 2008-11-08
Location : Sunny Florida
Re: alpha blending manually
How can I apply material to a texture?
oioioi- Posts : 136
Join date : 2008-12-02
Location : Norway
Re: alpha blending manually
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
Best,
Matt
Re: alpha blending manually
Thanks! I will try that
oioioi- Posts : 136
Join date : 2008-12-02
Location : Norway
Similar topics
» Quite strange question - how to exit sio manually?
» grass alpha problem
» Alpha Texture Problem
» Fast Gaussian blur
» strange alpha behaviour
» grass alpha problem
» Alpha Texture Problem
» Fast Gaussian blur
» strange alpha behaviour
Permissions in this forum:
You cannot reply to topics in this forum