Autodesk / arnold-usd

Arnold components for USD
https://www.arnoldrenderer.com/
Other
236 stars 56 forks source link

Shader output attributes should always be outputs:out to match the Sdr registry #1877

Closed sebastienblor closed 2 months ago

sebastienblor commented 2 months ago

When writing usd files, the output attribute name for the shader connected as a surface on a material was previously called outputs:surface. For displacement it was called outputs:displacement. However, Arnold shaders are declared with an output attribute called outputs:out. This PR changes it so that these outputs are authored as outputs:out (both for displacement and surface).

Issues fixed in this pull request Fixes #1874

Additional context Add any other context or screenshots about the pull request here.