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.
hell_bird
Posts: 18 Joined: Mon Nov 03, 2003 12:30 pm
Post
by hell_bird » Tue Dec 23, 2003 10:02 pm
i want a mesh to fade out smooth. how can i do that?
keless
Posts: 805 Joined: Mon Dec 15, 2003 10:37 pm
Location: Los Angeles, California, USA
Post
by keless » Tue Dec 23, 2003 11:00 pm
without knowing what irrlicht already has to offer, I can suggest that you make your own custom mesh animator which will slowly reduce the mesh's alpha value over time.
a screen cap is worth 0x100000 DWORDS
Boogle
Posts: 162 Joined: Fri Nov 21, 2003 3:16 pm
Location: Toronto, Canada
Post
by Boogle » Wed Dec 24, 2003 12:30 am
Yes, there is a material that will set your mesh's transparency based on the vertex alpha value. The material is EMT_TRANSPARENT_VERTEX_ALPHA.