hello
Here is the problem: I have two textures:
texture 1 (RGB) and texture 2 (RGBA). I want to mix these textures ( GL_ARB_multitexture ) in particular way.
-
I want to obtain effect where color bits (RGB) of texture 1 are visible only in alpha bits (>0) locations of texture 2 (RGB of texture 2 isn’t important).
-
I want to obtain effect where color bits (RGB) of texture 1 are replaced by color bits (RGB) of texture 2 but only in alpha bits (>0) locations of texture 2.
thanks for answer.
Krol