Template:KV BmNewLightShadowBias: Difference between revisions
Jump to navigation
Jump to search
MyGamepedia (talk | contribs) No edit summary |
MyGamepedia (talk | contribs) No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<!-- | <!--Purpose: | ||
We are using this template for one or multiple pages related to Black Mesa new light entities. These templates allows you to use the same text for entities that have many identical properties, without having to make the same changes for several pages separately. This template is also may used in some other templates.--> | |||
Purpose: | |||
We are using this template for one or multiple pages related to Black Mesa new light entities. These templates allows you to use the same text for entities that have many identical properties, without having to make the same changes for several pages separately. This template is also may used in some other templates. | |||
--> | |||
{{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|title=Examples| | :{{expand|title=Examples| | ||
Line 35: | Line 30: | ||
:{{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.}} | :{{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].}} | :{{bug|hidetested=1|Numbers lower than 0.8 can cause huge graphics issues. [https://youtu.be/WkbWr2lACbw Example].}} | ||
:{{tip|Increase this value if you are getting aliasing issues like [https://youtu.be/y7zkMMKaFGM this].}} | |||
}} | }} |
Latest revision as of 07:38, 24 June 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.
Tip:Increase this value if you are getting aliasing issues like this.