Welcome to mirror list, hosted at ThFree Co, Russian Federation.
1 2 3 4 5 6
void main() { /* No color output, only depth (line below is implicit). */ // gl_FragDepth = gl_FragCoord.z; }