PDA

View Full Version : Multitexture and texture amount



Antorian
11-23-2004, 11:56 PM
I would like to know if it's possible to specify the percentage value (amount) of a texture unit.
ie1: 100% of tex1 + 30% of tex2
ie2: 100% of material color + 30% of tex1

I would like to have the 3DS texture percentage working with my renderer so I use glTexEnv with BLEND mode but a GL_TEXTURE_ENV_COLOR (R=0,G=0,B=0,A=1) leads to black where texture is white...

I don't know if I'm really clear :)
I just want to have a red diffuse color box with a black and white stripped texture, and specify 50% of texture applied. (So bo is Red where texture strips are black and pink where strips are white).

Thanks!