Add support for multiple textures in one material (mjModel).

PiperOrigin-RevId: 648732764
Change-Id: I29b60dd62a069789a32017ff0d55e36b57e0052b
This commit is contained in:
Tom Erez
2024-07-02 08:49:24 -07:00
committed by Copybara-Service
parent 3b73dfe33b
commit df7ea3ed33
9 changed files with 20 additions and 11 deletions
+1 -1
View File
@@ -413,7 +413,7 @@
X ( int, tex_adr, ntex, 1 ) \
X ( mjtByte, tex_rgb, ntexdata, 1 ) \
XMJV( int, tex_pathadr, ntex, 1 ) \
XMJV( int, mat_texid, nmat, 1 ) \
XMJV( int, mat_texid, nmat, mjNTEXMAT ) \
XMJV( mjtByte, mat_texuniform, nmat, 1 ) \
XMJV( float, mat_texrepeat, nmat, 2 ) \
XMJV( float, mat_emission, nmat, 1 ) \