I have a textured polygon. I would like the final color of a fragment of the polygon to be
FinalColor.R = PolygonColor.R * TextureColor.R
FinalColor.G = PolygonColor.G * TextureColor.G
FinalColor.B = PolygonColor.B * TextureColor.B
FinalColor.A = PolygonColor.A
This is all before that fragment color would go to the color buffer.
I know it involves the texenv and or the blending but i can't seem to figure out which.
Any help is much appreciated.
Thank you very much.
gl es 1.1 texenv question
2 replies to this topic