Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…e blue
  • Loading branch information...
commit c86d390399a1b5c7f9ddec2a9e00cea2750d258c 1 parent 495a992
@alihelmy authored
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;
}
Please sign in to comment.
Something went wrong with that request. Please try again.