forked from blender/blender
Create parsing system that converts supported nodes and ignores unsupported #2
@ -95,8 +95,8 @@ void MaterialData::init()
|
||||
|
||||
pxr::HdMaterialNetworkMap network_map;
|
||||
|
||||
if (pxr::UsdShadeShader mtlx_surface = usd_material.ComputeSurfaceSource(contextVector)) {
|
||||
pxr::UsdImagingBuildHdMaterialNetworkFromTerminal(mtlx_surface.GetPrim(),
|
||||
if (pxr::UsdShadeShader surface = usd_material.ComputeSurfaceSource(contextVector)) {
|
||||
pxr::UsdImagingBuildHdMaterialNetworkFromTerminal(surface.GetPrim(),
|
||||
pxr::HdMaterialTerminalTokens->surface,
|
||||
shaderSourceTypes,
|
||||
contextVector,
|
||||
|
Loading…
Reference in New Issue
Block a user