Skip to content
Browse files

removed the colouring information from the shader and reverted to bas…

…e blue
  • Loading branch information...
1 parent 495a992 commit c86d390399a1b5c7f9ddec2a9e00cea2750d258c @alihelmy committed Oct 10, 2011
Showing with 3 additions and 4 deletions.
  1. +3 −4 LessonThree/shaders/screen.frag
View
7 LessonThree/shaders/screen.frag
@@ -1,7 +1,6 @@
#version 120
void main(void) {
- gl_FragColor[0] = gl_FragCoord.x/640.0;
- gl_FragColor[1] = gl_FragCoord.y/480.0;
- gl_FragColor[2] = 0.5;
- gl_FragColor[3] = floor(mod(gl_FragCoord.y, 2.0));
+ gl_FragColor[0] = 0.0;
+ gl_FragColor[1] = 0.0;
+ gl_FragColor[2] = 1.0;
}

0 comments on commit c86d390

Please sign in to comment.
Something went wrong with that request. Please try again.