The Arnold USD exported for a shader network using a normal map does not look correct.
- Dominant language
- Wolfram Language
- Stars
- 905
- Forks
- 223
- Avg merge
- 2d 9h
- Merged PRs (30d)
- 17
Description
**Describe the bug**
I have build a super simple shader network that consists of a Arnold Standard Surface with the normals input connected to a aiNormals node and an aiImage. I bind this network to a polygon cube. I then select the cube and export the selection as USD and select export materials as Arnold shaders.
The exported USD look like this:
def Shader "aiStandardSurface1"
{
uniform token info:id = "arnold:standard_surface"
color3f outputs:out.connect =
token outputs:surface
}
It seems wrong that an output of the standard surface is connected to the output of the normal map node.
I have attempted to load this USD into Houdini to render with Arnold there, and indeed the normals do not work.
I would expect the USD to look something like this:
def Shader "aiStandardSurface1"
{
uniform token info:id = "arnold:standard_surface"
float3f inputs:camera_normals =
token outputs:surface
}
I was using Maya 2022.1 and Maya USD 0.10.0 (downloaded from the Autodesk website).
I wanted to upload a maya binary file to explain this but I guess that is not possible in git hub.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.