Apply metallic and roughness scaling factors.
PiperOrigin-RevId: 767518801 Change-Id: I7eff7b7a56cfbb9c6e46ac22011559eabf401c07
This commit is contained in:
committed by
Copybara-Service
parent
047df4e871
commit
dd18dd2024
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user