mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-08 14:17:06 +03:00
0031284: Visualization - XCAFDoc_VisMaterialPBR lacks Index of Refraction
Added missing parameter.
This commit is contained in:
@@ -542,6 +542,7 @@ bool RWGltf_GltfJsonParser::gltfParsePbrMaterial (Handle(RWGltf_MaterialMetallic
|
||||
const RWGltf_JsonValue* aDoubleSidedVal = findObjectMember (theMatNode, "doubleSided");
|
||||
const RWGltf_JsonValue* anAlphaModeVal = findObjectMember (theMatNode, "alphaMode");
|
||||
const RWGltf_JsonValue* anAlphaCutoffVal = findObjectMember (theMatNode, "alphaCutoff");
|
||||
// TODO ADOBE_materials_thin_transparency extension can be used to read IOR (Index of Refraction for transparent materials)
|
||||
if (aMetalRoughVal == NULL)
|
||||
{
|
||||
return false;
|
||||
|
Reference in New Issue
Block a user