depthOut.frag 134 B

1234567891011
  1. #version 130
  2. varying vec4 Color;
  3. varying float Depth;
  4. void main()
  5. {
  6. gl_FragDepth = Depth;
  7. gl_FragColor = Color;
  8. }