Depth Test

From OpenGL.org
Jump to: navigation, search

The Depth Test is a per-sample operation performed conceptually after the Fragment Shader. The output depth is tested against the depth of the sample being written to. If the test fails, the fragment is discarded.