Skip to content

Commit 3a1fec1

Browse files
DeepMindcopybara-github
authored andcommitted
Allow material default classes to define texture layers.
PiperOrigin-RevId: 840254100 Change-Id: I2cbe66a74c3a1727ee57533b17fc59a565e8852e
1 parent e3a2483 commit 3a1fec1

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dm_control/mjcf/schema.xml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,14 @@
250250
<attribute name="reflectance" type="float"/>
251251
<attribute name="rgba" type="array" array_type="float" array_size="4"/>
252252
</attributes>
253+
<children>
254+
<element name="layer" repeated="true">
255+
<attributes>
256+
<attribute name="texture" type="reference" required="true"/>
257+
<attribute name="role" type="keyword" valid_values="rgb normal occlusion roughness metallic opacity emissive orm rgba" required="true"/>
258+
</attributes>
259+
</element>
260+
</children>
253261
</element>
254262
<element name="joint">
255263
<attributes>

0 commit comments

Comments
 (0)