Add support for normal maps in mujoco file format plugin
PiperOrigin-RevId: 771992722 Change-Id: Ifeae9e12f1071018112e697402361caa84095ff2
This commit is contained in:
committed by
Copybara-Service
parent
3969cac614
commit
bb1b2db3a9
@@ -1,8 +1,14 @@
|
||||
<mujoco model="mesh test">
|
||||
<asset>
|
||||
<texture name="texture" file="textures/cube.png" type="2d" />
|
||||
<texture name="diffuse_tex" file="textures/cube.png" type="2d" />
|
||||
<texture name="normal_tex" file="textures/normal.png" type="2d" />
|
||||
<material name="material_red" rgba="0.8 0 0 1" />
|
||||
<material name="material_texture" texture="texture" />
|
||||
<material name="material_texture" texture="diffuse_tex" />
|
||||
<material name="material_layered">
|
||||
<layer texture="diffuse_tex" role="rgb"/>
|
||||
<layer texture="normal_tex" role="normal"/>
|
||||
</material>
|
||||
2d texture="diffuse" normal="normal" />
|
||||
<mesh name="tetrahedron" vertex="0 0 0 1 0 0 0 1 0 0 0 1"/>
|
||||
</asset>
|
||||
<worldbody>
|
||||
|
||||
Reference in New Issue
Block a user