Hello.
I’m actually trying to do some multitexturing, and what i tried does not work. I’d like to know if i’m doing it the right way.
First, what i want… i’d like to have (at least) two textures one on each other, but having the blending based on an alpha that would not be embeded in the second image’s data. To be clearere, i want to use an image A for background, and map onto it an image B, but using an image C to control the blending levels. ARB_texture_env_combine mode does that work, for the second level.
What i’m doing is: first image mapped as combine modulate using primary color, second is mapped the same way, and then i’m applying a combine interpolate to the third texture unit using the third image as interpolator, previous unit as mapping, and a transparent constant color as texture.
What i get is that i have my two last levels and white where the background texture should appear. It seems that giving a transparent constant color has no effect. How, then, can i use the interpolate to get what i need?
Am i on a wrong path?
thanks a lot.