Apply metallic and roughness scaling factors.

PiperOrigin-RevId: 767518801
Change-Id: I7eff7b7a56cfbb9c6e46ac22011559eabf401c07
This commit is contained in:
Google DeepMind
2025-06-05 03:02:18 -07:00
committed by Copybara-Service
parent 047df4e871
commit dd18dd2024
2 changed files with 10 additions and 6 deletions
+2 -2
View File
@@ -291,8 +291,8 @@ void mjs_defaultMaterial(mjsMaterial* material) {
material->texrepeat[0] = material->texrepeat[1] = 1;
material->specular = 0.5;
material->shininess = 0.5;
material->metallic = 0.0;
material->roughness = 1.0;
material->metallic = -1.0;
material->roughness = -1.0;
material->rgba[0] = material->rgba[1] = material->rgba[2] = material->rgba[3] = 1;
}