Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Any good example for openGLES shader in android?

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 ?

like image 794
Android_Developer Avatar asked Oct 21 '11 06:10

Android_Developer


People also ask

What is OpenGL ES 3.0 used for?

The OpenGL ES 3.0 API provides additional features and better performance than the 2.0 API and is also backward compatible. This means that you can potentially write your application targeting OpenGL ES 2.0 and conditionally include OpenGL ES 3.0 graphics features if they are available.

What can you do with a fragment shader?

A Fragment Shader is the Shader stage that will process a Fragment generated by the Rasterization into a set of colors and a single depth value.

Does OpenGL ES support compute shaders?

Compute shaders introduce GPU Compute from within the OpenGL® ES API; the same API and shading language which are used for graphics rendering. Now that compute shaders have been introduced to the API, developers do not have to learn another API in order to make use of GPU Compute.


1 Answers

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.

like image 57
Uttam Avatar answered Sep 28 '22 11:09

Uttam