Masking in OpenGL

Problems with Canvas, OpenGL, etc...

Masking in OpenGL

Postby Orofu » Tue Apr 10, 2012 9:15 pm


I am developing a game in eclipse using the android sdk and openGL.
I have come to the point were i need to mask a picture so only parts of it is visible. Searching through the web haven't helped me with what i need.

I've tried mixing with the different blendfunc and stencilbuffer but gotten nowhere.
The picture shows you what i want with the bottom plattform, the images to the right shows the mask and plattform.
If there is anyone out there that know how to get this effect using OpenGLes 1 please tell me.

Once Poster
Once Poster
Posts: 1
Joined: Tue Apr 10, 2012 8:49 pm


Return to Android 2D/3D Graphics - OpenGL Problems

Who is online

Users browsing this forum: No registered users and 2 guests