About MultiTexture .

I Want to do the job like the picture show,With opengl.
A hair pic + A hair_alpha pic = A hair render pic

Anyone know how to do that?

This is very what I want.
help me!

Uhm… alpha blending?!
Beside, this is not an advanced topic.

Jens Scheddin
Please give me some help,maybe it’s basice,but that’s very importent importance to me.

In the first texture stage, load the hair color with a texture environment of GL_DECAL or GL_MODULATE (depending on whether you need to incorporate the vertex color). In the second texture stage, overwrite the fragment’s alpha value with the mask texture using GL_REPLACE. The mask texture has to be stored as GL_ALPHA.