Template:KV BmNewLightShadowBias: Difference between revisions
Jump to navigation
Jump to search
m (Indented Expand and removed its margin_left.) |
MyGamepedia (talk | contribs) No edit summary |
||
Line 26: | Line 26: | ||
{{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|title=Examples| | :{{expand|title=Examples| | ||
{{note|You will not see any changes if your material doesn't not provide [[bumpmap]].}} | |||
<gallery mode=packed heights=290px> | <gallery mode=packed heights=290px> | ||
File: | File:NormalBias1.jpg| thumb | left | 510px | NormalBias - 1 | ||
File: | File:NormalBias5.jpg| thumb | left | 510px | NormalBias - 5 | ||
File: | File:NormalBias20.jpg| thumb | left | 510px | NormalBias - 20 | ||
</gallery> | </gallery> | ||
}} | }} | ||
:{{important|Increasing this value will make shadows between different surfaces less accurate, greate example is third picture in examples, there you can see "two" shadows from railing.}} | |||
:{{bug|hidetested=1|Numbers lower than 0.8 can cause huge graphics issues. [https://youtu.be/WkbWr2lACbw Example].}} | |||
}} | }} |
Revision as of 03:11, 22 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 Note:You will not see any changes if your material doesn't not provide bumpmap.
Important:Increasing this value will make shadows between different surfaces less accurate, greate example is third picture in examples, there you can see "two" shadows from railing.
Bug:Numbers lower than 0.8 can cause huge graphics issues. Example.