Okay, let's say that my application screen looks like that:
And I want it to look like this:
The scenery at the first picture contains of two planes on top of each other that have different textures.
What I want is the thing that happened at the second picture. It want it to cut the part of the plane wherever I want based of this texture:
I am using SDL for handling events, and OpenGL for drawing.
Thanks in advance .