SPARK
0.1.0
A general purpose game engine written in C++.
|
Describes the rasterizer depth bias. More...
#include <DepthStencilState.h>
Describes the rasterizer depth bias.
The depth bias can be used to alter the depth value function, i.e. how the values within the depth buffer are distributed. By default, the depth buffer uses an exponential function scale to increase precision for closer objects. The values provided with depthBiasClamp, depthBiasConstantFactor and depthBiasSlopeFactor are used to change the domain clamping, offset and steepness of the depth value distribution.