Template:KV BmNewLightShadowBias: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
(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...")
 
No edit summary
Line 1: Line 1:
<onlyinclude><!--
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|margin_left=2em|title=Examples|
{{expand|margin_left=2em|title=Examples|

Revision as of 07:03, 8 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
Icon-Bug.pngBug:Numbers lower than 0.8 can cause huge graphics problems.
The bug example