Alpha for node

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
dmitrii
Posts: 27
Joined: Wed Aug 30, 2006 11:52 am
Location: Kiev, Ukraine
Contact:

Alpha for node

Post by dmitrii »

how i can set alpha for object without any texture ? (like cube scene node)
i try to change it with material type EMT_TRANSPARENT_ALPHA_CHANNEL
but it doesnt work even in irredit

i also try change alpha with EMT_TRANSPARENT_ADD_COLOR
alpha changes when i change colors in EmissiveColor
but when i try to change alpha in EmissiveColor - it doesnt work in any way

also can i solve this problem with set alpha to vertexes ?

ps. sorry for my bad english :)
Image
Image
Only Opera Image
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Of course you would use vertex color alpha value. You don't have too much other alpha values you can consider. Use EMT_TRANSPARENT_VERTEX_ALPHA
arras
Posts: 1622
Joined: Mon Apr 05, 2004 8:35 am
Location: Slovakia
Contact:

Post by arras »

to set Alpha of sceneNode vertices? ...acces through meshBuffer.
Post Reply