Skip to content

Support custom USD materialx shaders with any shader type #1603

@sebastienblor

Description

@sebastienblor

At the moment, to detect UsdShade shaders representing materialx shaders, we rely on the shader's info:id to start with ND_. But that is not a good test, as some custom materialx definitions could have a different name.
We could either :

  1. Ask the Usd Sdr Registry if the shader comes from materialx
  2. after checking for common usd shaders, as well as arnold shaders, we could always call AiMaterialxGetOslShaderCode and see if Arnold knows about this materialx definition

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions