Created
April 21, 2014 14:13
-
-
Save nulldatamap/11143929 to your computer and use it in GitHub Desktop.
This file contains 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
#version 150 | |
in vec3 position; | |
in vec2 texcoord; | |
uniform mat4 model; | |
uniform mat4 view; | |
uniform mat4 proj; | |
out vec2 Texcoord; | |
void main() { | |
Texcoord = texcoord; | |
gl_Position = proj * view * model * vec4( position, 1.0 ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment