Hi,
Sorry, complete newbie here so please let me know if I’m barking up the wrong tree. I am currently working in OpenGL ES, specifically using the GLKit library, and I’m trying to assess if the following is possible or not.
I have a 2D scene comprised of multiple layer PNGs. There is a base layer image, which I have mapped directly from onto a quad, and then there are multiple other layer images with alpha-transparency which can be blended over the top using a linear dodge, giving the effect of different areas of the scene being lit-up. The layers need to be able to be turned on and off dynamically, with an animation effect where the alpha level tweens from 0 to 1, and back to 0 again. Multiple layers should be able to be ‘on’ at any one time.
GLKit seems to have two texture ‘slots’, which i can then blend using two GL_ONE’s, but I haven’t been able to get much further than this. How could I dynamically blend multiple textures over each, and have the ability to remove each texture on demand? Is this even possible?
Can anybody point me to some resources which might shed some light on this for me?
Many thanks