Template:KV BmNewLightShadowBias

From Valve Developer Community
Revision as of 04:42, 8 January 2025 by MyGamepedia (talk | contribs) (Created page with "{{KV|DepthBias|intn=DepthBias|float|DepthBias is offset added to depth values in shadowmaps. {{expand|margin_left=2em|title=Examples| <br> <gallery mode=packed heights=290px> File:DepthBias1.jpg| thumb | left | 510px | DepthBias - 0.0002 File:DepthBias2.jpg| thumb | left | 510px | DepthBias - 0.002 File:DepthBias3.jpg| thumb | left | 510px | DepthBias - 0.0000000002 </gallery> }}}} {{KV|SlopeDepthBias|intn=SlopeDepthBias|float|Slope Depth Bias used for surfaces having al...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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