Billboard Transparency

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
tomhancocks
Posts: 15
Joined: Fri Jan 02, 2009 1:25 pm
Location: Around
Contact:

Billboard Transparency

Post by tomhancocks »

Is it possible to alter the alpha/transparency of a billboard scene node whilst running without having to load different textures?
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

Yes, of course. If you want to change only the vertex alpha you simply change the vertex color's alpha value. Otherwise you need to lock the texture and alter all pixel alpha values. Depends on what you want to achieve.
Post Reply