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.
ssuny1007
Posts: 10 Joined: Mon Jul 23, 2007 2:59 am
Post
by ssuny1007 » Mon Jul 30, 2007 6:42 am
i wanna mesh's Color to Change..
it means.. Original mesh's color(with Texture) ... (255,255,255,255)
to Red Mesh (255,255,0,0) ...
mm Understand?? sorry.. i weak English..
where set the color??
hybrid
Admin
Posts: 14143 Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:
Post
by hybrid » Mon Jul 30, 2007 7:44 am
virtual void setVertexColorAlpha(scene::IMesh* mesh, s32 alpha) const;
This is a method in the MeshManipulator class. You could also do this manually by traversing the mesh buffers. But with just one color this method is the way to go.