Skip to content

Instantly share code, notes, and snippets.

@lewkoo
Created February 27, 2014 03:20
Show Gist options
  • Save lewkoo/9243758 to your computer and use it in GitHub Desktop.
Save lewkoo/9243758 to your computer and use it in GitHub Desktop.
Vertex shader for Android simple shader example
attribute vec4 position;
uniform mat4 modelViewProjectionMatrix;
void main(){
gl_Position = modelViewProjectionMatrix * position;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment