basic.fs 109 B

1234567
  1. #version 120
  2. varying vec3 normal;
  3. void main() {
  4. gl_FragColor = vec4((normal + 1.0) / 2.0, 1.0);
  5. }