View Full Version : About MultiTexture .
10-10-2005, 11:27 PM
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?
10-10-2005, 11:47 PM
This is very what I want.
10-11-2005, 12:50 AM
Uhm... alpha blending?!
Beside, this is not an advanced topic.
10-11-2005, 02:42 AM
Please give me some help,maybe it's basice,but that's very importent importance to me.
10-11-2005, 03:08 AM
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.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.