Skip to content

Instantly share code, notes, and snippets.

@kenpower
Created December 18, 2012 10:41
Show Gist options
  • Select an option

  • Save kenpower/4327014 to your computer and use it in GitHub Desktop.

Select an option

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