Template:KV BmNewLightShadowBias

From Valve Developer Community
Revision as of 07:03, 8 January 2025 by MyGamepedia (talk | contribs)
Jump to navigation Jump to search


DepthBias (DepthBias) <float>
DepthBias is offset added to depth values in shadowmaps.
Examples


SlopeDepthBias (SlopeDepthBias) <float>
Slope Depth Bias used for surfaces having aliasing due to steep angles with light.
Examples
NormalBias (NormalBias) <float>
While rendering objects into shadowmaps, each vertex will be moved along -ve Normal direction, giving it an appearance of shrinking while rendering to shadowmaps. This property determines the amount of Units to be moved. Helps with shadow aliasing.
Examples
Icon-Bug.pngBug:Numbers lower than 0.8 can cause huge graphics problems.
The bug example