Browse Source

Merge pull request #62053 from skyace65/MaterialDescription

Add a description to ORMMaterial3D and StandardMaterial3D
Max Hilbrunner 3 years ago
parent
commit
ac51d5a1e9
2 changed files with 6 additions and 1 deletions
  1. 3 0
      doc/classes/ORMMaterial3D.xml
  2. 3 1
      doc/classes/StandardMaterial3D.xml

+ 3 - 0
doc/classes/ORMMaterial3D.xml

@@ -1,9 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="ORMMaterial3D" inherits="BaseMaterial3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
 	<brief_description>
+		Physically based rendering (PBR) material that can be applied to 3D objects, can use an ORM texture.
 	</brief_description>
 	<description>
+		ORMMaterial3D's properties are inherited from [BaseMaterial3D]. Unlike [StandardMaterial3D], ORMMaterial3D uses a single texture for ambient occlusion, roughness and metallic maps, known as an ORM texture.
 	</description>
 	<tutorials>
+		<link title="Standard Material 3D and ORM Material 3D">$DOCS_URL/tutorials/3d/standard_material_3d.html</link>
 	</tutorials>
 </class>

+ 3 - 1
doc/classes/StandardMaterial3D.xml

@@ -1,10 +1,12 @@
 <?xml version="1.0" encoding="UTF-8" ?>
 <class name="StandardMaterial3D" inherits="BaseMaterial3D" version="4.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../class.xsd">
 	<brief_description>
+		Physically based rendering (PBR) material that can be applied to 3D objects.
 	</brief_description>
 	<description>
+		StandardMaterial3D's properties are inherited from [BaseMaterial3D].
 	</description>
 	<tutorials>
-		<link title="Standard Material 3D">$DOCS_URL/tutorials/3d/standard_material_3d.html</link>
+		<link title="Standard Material 3D and ORM Material 3D">$DOCS_URL/tutorials/3d/standard_material_3d.html</link>
 	</tutorials>
 </class>