summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res/DataModelMetadata
diff options
context:
space:
mode:
authorMiikka Heikkinen <miikka.heikkinen@qt.io>2017-11-15 12:51:06 +0200
committerMiikka Heikkinen <miikka.heikkinen@qt.io>2017-11-15 11:10:05 +0000
commita2eb69128aed9e6b5bc25cdf25bac36adb1a9c53 (patch)
treef54fffb689f2bb9368ec0dbfd01d352dabecbd94 /src/Runtime/res/DataModelMetadata
parent229a8c12256c10a7cccd8ec4ae87a2a581a34061 (diff)
Fix default value for shadow map resolution
Task-number: QT3DS-439 Change-Id: I34d4932b4789b2eb0f82a2195f95e178acbf6817 Reviewed-by: Antti Määttä <antti.maatta@qt.io>
Diffstat (limited to 'src/Runtime/res/DataModelMetadata')
-rw-r--r--src/Runtime/res/DataModelMetadata/en-us/MetaData.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
index dead53ae..aff9f62a 100644
--- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
+++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
@@ -219,7 +219,7 @@
<Property name="castshadow" formalName="Cast Shadows?" description="Enable shadow casting for this light" type="Boolean" default="False"/>
<Property name="shdwfactor" formalName="Shadow Darkness" description="Factor used to darken shadows" default="10.0" min="1.0" max="100.0" />
<Property name="shdwfilter" formalName="Shadow Softness" description="Width of the blur filter on the shadow map" min="1" max="100" default="35" />
- <Property name="shdwmapres" formalName="Shadow Resolution" description="Resolution of shadow map (powers of two)" type="ShadowMapResolution" />
+ <Property name="shdwmapres" formalName="Shadow Resolution" description="Resolution of shadow map (powers of two)" type="ShadowMapResolution" default="9" />
<Property name="shdwbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing artifacts" default="0" min="-1.0" max="1.0" />
<Property name="shdwmapfar" formalName="Shadow Far Clip" description="Affects the maximum distance for the shadow depth map" default="5000" />
<Property name="shdwmapfov" formalName="Shadow Field of View" description="Affects the field of view of the shadow camera" default="90" min="1" max="179" />