Any good example for openGLES shader in android?

17,701

Solution 1

Here is good tutorial for OpenGLES 2.0 shader in android. It's also given step by step develop application. The best option for you would be to read OpenGL ES 2.0 Specification.

Solution 2

Android Lesson One from Learn OpenGL ES website is good.

In this lesson, we’re going to go over the code step-by-step, and look at how to create an OpenGL ES 2 context and draw to the screen. We’ll also take a look at what shaders are and how they work, as well as how matrices are used to transform the scene into the image you see on the screen. Finally, we’ll look at what you need to add to the manifest to let the Android market know that you’re using OpenGL ES 2.

Solution 3

Check the examples that come with Android SDK. There are examples that show how to use shaders with OpenGL ES 2.0.

Like this one: http://developer.android.com/resources/tutorials/opengl/opengl-es20.html

Share:
17,701

Related videos on Youtube

Android_Developer
Author by

Android_Developer

Updated on June 04, 2022

Comments

  • Android_Developer
    Android_Developer almost 2 years

    I am new in OpenGLES. but by googling i got the knowledge about the shader of vertext and the fragment.

    now i want to implement it in to my android Application. So is there any Good And Simple Example to Use Shader in Android OpenGLES ?

  • Android_Developer
    Android_Developer over 12 years
    Ok. Thanks for reply. I need more help if u can ??? I want to set the Android camera preview with that OpenGLES shader in android. So do you know how to implement it ?
  • Android_Developer
    Android_Developer over 12 years
    Ok Now I come to know How to use the Shader file in Android OpenGLES. Will u help me more ? I want to know whether it is Possible to Use that Shader file in Android Camera ??? See this: stackoverflow.com/questions/7847912/…
  • gMale
    gMale over 7 years
    found the original tutorial on archive.org and then Googled to discover a copy of it here.