Skip to content

Instantly share code, notes, and snippets.

@kenpower
Created December 18, 2012 10:41
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kenpower/4327014 to your computer and use it in GitHub Desktop.
Save kenpower/4327014 to your computer and use it in GitHub Desktop.
Basic GLSL 1.2 shader
#version 120
void main(void) {
gl_FragColor= vec4(1.0,1.0,1.0,1.0);
}
#version 120
void main() {
gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment