yossi
03-31-2001, 09:26 PM
I would like to know if there is a way in OpenGL to do the following effect:
I want to render two textures (#1 and #2) into the same polygon, say triangle with vertices A, B, and C. I want that on vertices A and B I would see 100% of texture #1 and on vertex C - 100% of texture #2. I want a smooth transition from one texture to another e.g in the middle of the triangle I want to see a blending of the two textures, something like interpolating alpha values.
Is there a way to do so in OpenGL?
Many thanks,
Yossi
I want to render two textures (#1 and #2) into the same polygon, say triangle with vertices A, B, and C. I want that on vertices A and B I would see 100% of texture #1 and on vertex C - 100% of texture #2. I want a smooth transition from one texture to another e.g in the middle of the triangle I want to see a blending of the two textures, something like interpolating alpha values.
Is there a way to do so in OpenGL?
Many thanks,
Yossi