Created
February 27, 2014 03:20
-
-
Save lewkoo/9243758 to your computer and use it in GitHub Desktop.
Vertex shader for Android simple shader example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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