Skip to content

Instantly share code, notes, and snippets.

@nulldatamap
Created April 21, 2014 14:13
Show Gist options
  • Save nulldatamap/11143929 to your computer and use it in GitHub Desktop.
Save nulldatamap/11143929 to your computer and use it in GitHub Desktop.
#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