OpenGL ES 2.x and higher are the way to go, so you probably won't get 
around coding your own shaders. That comes with a lot of advantages and a 
few problems. Yes there are some compatibility issues but they are 
universal and also affect desktop GPUs due to subtle inconsistencies in 
driver implementations. The article you linked to points out the main 
problems I also encountered. However, those issues do not mean that you 
should avoid using the OpenGL ES 2.x and higher. Take it as a list of best 
practices to follow.

You should also read through the following blog about OpenGL ES programming 
for Android: 
http://www.learnopengles.com/android-lesson-one-getting-started/
The articles there also explain how to bind textures, prepare and upload 
vertex data and so on. I hope they will answer your other questions. In my 
experience you won't run into big problems with most basic shader 
approaches. That cross-fading effect should not cause any issues.

On Sunday, December 28, 2014 3:01:58 AM UTC-8, MobileVisuals wrote:
>
> 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 android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to