diff options
author | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-11-09 16:58:08 +0100 |
---|---|---|
committer | Laszlo Agocs <laszlo.agocs@qt.io> | 2017-11-10 19:12:04 +0000 |
commit | f90650c2d1d044936b2dae0ff4ebc3bfc0368f70 (patch) | |
tree | 588d298f04da1f45ea7a950e6d5acfe3244f382f /res | |
parent | bbcf165ae06f525ec05b35e8a4d1471ca83b9b31 (diff) |
Add shadow map FoV property
Plus take the always-show changes for shadow properties from 3DS1 (not that
it matters for the runtime).
Task-number: QT3DS-300
Change-Id: I46eec1b2e03475e3ba0343b97909f904c54d5fd8
Reviewed-by: Andy Nichols <andy.nichols@qt.io>
Diffstat (limited to 'res')
-rw-r--r-- | res/DataModelMetadata/en-us/MetaData.xml | 21 |
1 files changed, 6 insertions, 15 deletions
diff --git a/res/DataModelMetadata/en-us/MetaData.xml b/res/DataModelMetadata/en-us/MetaData.xml index 453c462..1d5cd6c 100644 --- a/res/DataModelMetadata/en-us/MetaData.xml +++ b/res/DataModelMetadata/en-us/MetaData.xml @@ -241,21 +241,12 @@ <ShowIfEqual property="lighttype" value="Area"/> </Property> <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"> - <ShowIfEqual property="castshadow" value="True"/> - </Property> - <Property name="shdwfilter" formalName="Shadow Softness" description="Width of the blur filter on the shadow map" min="1" max="100" default="35"> - <ShowIfEqual property="castshadow" value="True"/> - </Property> - <Property name="shdwmapres" formalName="Shadow Resolution" description="Resolution of shadow map (powers of two)" type="Long" default="9" min="7" max="11" list="256:512:1024:2048"> - <ShowIfEqual property="castshadow" value="True"/> - </Property> - <Property name="shdwbias" formalName="Shadow Depth Bias" description="Slight offset to avoid self-shadowing artifacts" default="0" min="-1.0" max="1.0"> - <ShowIfEqual property="castshadow" value="True"/> - </Property> - <Property name="shdwmapfar" formalName="Shadow Far Clip" description="Affects the maximum distance for the shadow depth map" default="5000"> - <ShowIfEqual property="castshadow" value="True"/> - </Property> + <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="Long" default="9" min="7" max="11" list="256:512:1024:2048" /> + <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" /> </Light> <Lightmaps> <Property name="name" formalName="Name" type="String" default="Lightmaps" hidden="True" category="Lighting" /> |