Template:KV BmNewLightShadowBias: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) No edit summary |
m (Indented Expand and removed its margin_left.) |
||
Line 7: | Line 7: | ||
--> | --> | ||
{{KV|DepthBias|intn=DepthBias|float|DepthBias is offset added to depth values in shadowmaps. | {{KV|DepthBias|intn=DepthBias|float|DepthBias is offset added to depth values in shadowmaps. | ||
{{expand | :{{expand|title=Examples| | ||
<br> | <br> | ||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
Line 16: | Line 16: | ||
}}}} | }}}} | ||
{{KV|SlopeDepthBias|intn=SlopeDepthBias|float|Slope Depth Bias used for surfaces having aliasing due to steep angles with light. | {{KV|SlopeDepthBias|intn=SlopeDepthBias|float|Slope Depth Bias used for surfaces having aliasing due to steep angles with light. | ||
{{expand | :{{expand|title=Examples| | ||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
File:SlopeDepthBias1.jpg| thumb | left | 510px | SlopeDepthBias - 0.2 | File:SlopeDepthBias1.jpg| thumb | left | 510px | SlopeDepthBias - 0.2 | ||
Line 25: | Line 25: | ||
}} | }} | ||
{{KV|NormalBias|intn=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. | {{KV|NormalBias|intn=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. | ||
{{expand | :{{expand|title=Examples| | ||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
File:cNB1.jpg| thumb | left | 510px | NormalBias - 1 | File:cNB1.jpg| thumb | left | 510px | NormalBias - 1 | ||
Line 33: | Line 33: | ||
}} | }} | ||
:{{bug|hidetested=1|Numbers lower than 0.8 can cause huge graphics problems.}} | :{{bug|hidetested=1|Numbers lower than 0.8 can cause huge graphics problems.}} | ||
{{expand | :{{expand|title=The bug example| | ||
<gallery mode=packed heights=720px> | <gallery mode=packed heights=720px> | ||
File:cNormalBiasBug.gif| frame | NormalBias - 0 | File:cNormalBiasBug.gif| frame | NormalBias - 0 |
Revision as of 22:35, 17 January 2025
- 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
Bug:Numbers lower than 0.8 can cause huge graphics problems.
The bug example