April 2017
Intermediate to advanced
700 pages
21h 36m
English
When rasterization is enabled, each fragment that is generated during this process has its own coordinates (position on screen) and a depth value (distance from the camera). Depth value is used for the depth test, allowing for some opaque objects to cover other objects.
Enabling depth bias allows us to modify the fragment's calculated depth value. We can provide parameters for biasing a fragment's depth during the pipeline creation. But when depth bias is specified as one of the dynamic states, we do it through a function call.
Read now
Unlock full access