Add support for transparent PBR materials.
PiperOrigin-RevId: 919477028 Change-Id: I75cc311fc73dd5fe26b72ba8d49fd421fda455e3
This commit is contained in:
committed by
Copybara-Service
parent
5b73846a1e
commit
88b8b58429
@@ -198,6 +198,7 @@ static void UpdateGeomMaterial(mjrRenderable* renderable, const mjvGeom& geom,
|
||||
};
|
||||
material.color_texture = get_texture(mjTEXROLE_RGB);
|
||||
material.normal_texture = get_texture(mjTEXROLE_NORMAL);
|
||||
material.opacity_texture = get_texture(mjTEXROLE_OPACITY);
|
||||
material.emissive_texture = get_texture(mjTEXROLE_EMISSIVE);
|
||||
material.orm_texture = get_texture(mjTEXROLE_ORM);
|
||||
material.metallic_texture = get_texture(mjTEXROLE_METALLIC);
|
||||
|
||||
Reference in New Issue
Block a user