Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The depth-buffer test discards a fragment if a depth comparison fails; glDepthFunc specifies the comparison function. If stenciling is enabled, the result of the depth comparison also affects the stencil buffer update value.