alpha help!

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
jinwei
Posts: 10
Joined: Fri Nov 06, 2009 3:54 am

alpha help!

Post by jinwei »

help!
I want to use "EMT_TRANSPARENT_ALPHA_CHANNEL_REF" and "EMT_TRANSPARENT_ADD_COLOR" together.but is covered.How can i do?
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

You can use the ONE_MATERIAL_BLEND materials, or write your own material/shader.
jinwei
Posts: 10
Joined: Fri Nov 06, 2009 3:54 am

Post by jinwei »

Can you tell me more, such as simple a code examples
jinwei
Posts: 10
Joined: Fri Nov 06, 2009 3:54 am

Post by jinwei »

step by step help...

thx~!
hybrid
Admin
Posts: 14144
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Well, did you read the API docs concerning this material? If you want to use it, simply assign the material type. You also have to encode the blend properties into materialtype param, but that should be covered by the docs. And shaders, well, do you know shaders? If not, ask google.
Post Reply