You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Local surface shaders (like a Lambert-like PBR surface for Maya export) are not recognized even though the definition file was read and the library contains the node definition.
Steps to Reproduce
Copy the attached maya_surfaces.mtlx file to the local MaterialX library (I put it in libraries/bxdf of my MaterialX installation since hdSt does not declare an environment variable to define extra library paths to search).
Load the attached LambertSphere.usda scene in usdView
Warning: Unsupported node type 'ND_MayaLambert_surfaceshader'
I can get a working Lambert by updating _GetMxNodeType to fetch back mxDoc->getNodeDef(hdNodeType.GetString())->getNodeString(). Would that be a correct fix?
Description of Issue
Steps to Reproduce
maya_surfaces.mtlx
file to the local MaterialX library (I put it in libraries/bxdf of my MaterialX installation since hdSt does not declare an environment variable to define extra library paths to search).LambertSphere.usda
scene in usdViewI can get a working Lambert by updating _GetMxNodeType to fetch back
mxDoc->getNodeDef(hdNodeType.GetString())->getNodeString()
. Would that be a correct fix?LambertSphere.zip
System Information (OS, Hardware)
Package Versions
Build Flags
The text was updated successfully, but these errors were encountered: