PDA

View Full Version : How do you combine alpha from one texture and color from another ?



05-28-2003, 04:09 AM
Hi,

I am trying to find a way to combine 2 textures. One texture contains the alpha, one texture contains the alpha.

IE
Channel 0 = Image.
Channel 1 = Alpha Mask.

I need to specify different tex coord for each channel. Anyone know a solution for this ?

loopylooploop

Mazy
05-28-2003, 05:04 AM
Easiest : multitexture, and env_combine.

05-29-2003, 07:09 AM
Nice direction...however
The documentation for the TexEnv extension is, to the say the least, cryptic.
Has anyone done this before ?
Is it even possible ?

Day 2 and still no cookies.

loopy

05-31-2003, 10:24 PM
Look at the tutorials on multitexturing