Created
December 18, 2012 10:41
-
-
Save kenpower/4327014 to your computer and use it in GitHub Desktop.
Basic GLSL 1.2 shader
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 120 | |
void main(void) { | |
gl_FragColor= vec4(1.0,1.0,1.0,1.0); | |
} |
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 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