Hello,

I'm very beginner with opengl, I'm developing a 2d game using Opengl 1.1. I found solution for almost all my needs but I can't find how to do the next:

I want to use 3 textures for a rectangle

- 2 opaque textures
- 1 texture with alpha channel

I want to merge the 2 opaque textures applying an arbitrary alpha to the second one. The alpha is not constant, it will be changed with every draw.

Then, combine the result using multiply with the texture with alpha channel.

Is this possible? Can you post an example code?

Thanks in advance.