summaryrefslogtreecommitdiffstats
path: root/src/Runtime/res/DataModelMetadata
diff options
context:
space:
mode:
authorJere Tuliniemi <jere.tuliniemi@qt.io>2018-04-13 15:30:38 +0300
committerJere Tuliniemi <jere.tuliniemi@qt.io>2018-04-16 08:55:47 +0000
commitc3158e0c43b580e30e510f6f19cba285f6862356 (patch)
treecbb12c86b525eea7eb88ad09a7c1bf8fb159781e /src/Runtime/res/DataModelMetadata
parent37c1e22e6d9aa3b31f3533a8133ca6c1f034a718 (diff)
Add roughness map to the standard material
The inspector for the standard material now has a selector for a roughness map and the shaders use the map for specular roughness. Task-number: QT3DS-1445 Change-Id: I0d31fb6d191583454ee5e20be683cf9ada093279 Reviewed-by: Miikka Heikkinen <miikka.heikkinen@qt.io> Reviewed-by: Mahmoud Badri <mahmoud.badri@qt.io> Reviewed-by: Tomi Korpipää <tomi.korpipaa@qt.io>
Diffstat (limited to 'src/Runtime/res/DataModelMetadata')
-rw-r--r--src/Runtime/res/DataModelMetadata/en-us/MetaData.xml1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
index 725604af..fffffdee 100644
--- a/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
+++ b/src/Runtime/res/DataModelMetadata/en-us/MetaData.xml
@@ -245,6 +245,7 @@
<Property name="specularmap" formalName="Specular Map" description="Image to vary the specular amount across\nthe material" type="Image" category="Material" />
<Property name="specularmodel" formalName="Specular Model" description="Equation to use when calculating specular\nhighlights for CG lights" list="Default:KGGX:KWard" default="Default" category="Material" />
<Property name="specularroughness" formalName="Specular Roughness" description="Softening applied to reflections and\nhighlights" min='0.001' max='1' category="Material" />
+ <Property name="roughnessmap" formalName="Roughness Map" description="Image to vary the specular roughness across\nthe material" type="Image" category="Material" />
<Property name="fresnelPower" formalName="Fresnel Power" description="Damping of head-on reflections" category="Material" />
<Property name="ior" formalName="Index of Refraction" description="Angle at which fresnel reflection damping\napplies" min="0" max="1" default=".2" category="Material" />
<Property name="bumpmap" formalName="Bump Map" description="Grayscale image simulating roughness in the\nlighting" type="Image" category="Material" />