summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorTomi Korpipaa <tomi.korpipaa@qt.io>2019-10-02 13:11:48 +0300
committerTomi Korpipaa <tomi.korpipaa@qt.io>2019-10-02 13:34:07 +0300
commit3c53d50068768bc574b80ecb865eeb9aeb1c2356 (patch)
tree1d8ec42d98452433207da4c2b983804b66a1abd2 /res
parent247e38fcb8c08e8af3e221e32ab0d776cf758da5 (diff)
Adjust shadow depth bias range and step size
Task-number: QT3DS-2955 Change-Id: I89ff9d907fc466eb757ec14e66cb9030888b078c Reviewed-by: Jere Tuliniemi <jere.tuliniemi@qt.io> Reviewed-by: Antti Määttä <antti.maatta@qt.io> Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io>
Diffstat (limited to 'res')
-rw-r--r--res/DataModelMetadata/en-us/MetaData.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/DataModelMetadata/en-us/MetaData.xml b/res/DataModelMetadata/en-us/MetaData.xml
index 283574d..07b507c 100644
--- a/res/DataModelMetadata/en-us/MetaData.xml
+++ b/res/DataModelMetadata/en-us/MetaData.xml
@@ -396,7 +396,7 @@
<Property name="shdwfactor" formalName="Shadow Darkness" description="Factor used to darken shadows" default="10.0" min="1.0" max="100.0" category="Shadow" />
<Property name="shdwfilter" formalName="Shadow Softness" description="Width of the blur filter on the shadow map" min="1" max="100" default="35" category="Shadow" />
<Property name="shdwmapres" formalName="Shadow Resolution" description="Resolution of shadow map\n(powers of two)" type="ShadowMapResolution" default="9" animatable="False" category="Shadow" />
- <Property name="shdwbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing\nartifacts" default="0" min="-1.0" max="1.0" category="Shadow" />
+ <Property name="shdwbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing\nartifacts" default="0" min="-0.1" max="0.1" decimals="3" category="Shadow" />
<Property name="shdwmapfar" formalName="Shadow Far Clip" description="Affects the maximum distance for the shadow\ndepth map" default="5000" category="Shadow" />
<Property name="shdwmapfov" formalName="Shadow Field of View" description="Affects the field of view of the shadow\ncamera" default="90" min="1" max="179" hidden="True" category="Shadow" />