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