Thanks, I understood what you mean after reading this article: http://androidblog.reindustries.com/opengl-es-2-0-2d-shaders-series-001-basic-shaders/
I am on the case now and I will try to implement it. I assume that texA and texB are some sort of GLSL texture objects, representing the first and second texture? How do I connect them to the regular texture objects textures[0] and textures[1]? I found an article, which says that implementing your own shaders will not work well on a lot of devices: http://bitiotic.com/blog/2013/09/24/opengl-es-shading-language-potholes-and-problems/ They write: "In my experience OpenGL ES shaders are the real fragmentation pain point of OpenGL game development on Android. there are a diversity of hardware implementations of the OpenGL ES 2.0 API." Maybe it is the same problem as with light effects, that it only works on some devices? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en --- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.

