We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
The add node in the following MaterialX text doesn't show up in the USD stage. I've verified that it works in MaterialXView though.
<?xml version="1.0"?> <materialx version="1.38" colorspace="lin_rec709"> <add name="add1" type="color3"> <input name="in1" type="color3" value="0, 0.5, 0"/> <input name="in2" type="color3" value="0, 0.5, 0"/> </add> <UsdPreviewSurface name="SR_default" type="surfaceshader"> <input name="diffuseColor" type="color3" nodename="add1"/> </UsdPreviewSurface> <surfacematerial name="USD_Default" type="material"> <input name="surfaceshader" type="surfaceshader" nodename="SR_default"/> </surfacematerial> </materialx>
macOS 11, MacBookPro (15-inch, 2019)
USD 21.05
./build_scripts/build_usd.py --materialx
The text was updated successfully, but these errors were encountered:
Filed as internal issue #USD-6669
Sorry, something went wrong.
Is this because the add node needs to be in a nodegraph?
add
nodegraph
I've had some success with materialx files like this:
<?xml version="1.0"?> <materialx version="1.38"> <nodegraph name="ng"> <add name="add1" type="color3"> <input name="in1" type="color3" value="0, 0.5, 0"/> <input name="in2" type="color3" value="0, 0.5, 0"/> </add> <output name="out_color" type="color3" nodename="add1" /> </nodegraph> <UsdPreviewSurface name="SR_default" type="surfaceshader"> <input name="diffuseColor" type="color3" nodegraph="ng" output="out_color"/> </UsdPreviewSurface> <surfacematerial name="USD_Default" type="material"> <input name="surfaceshader" type="surfaceshader" nodename="SR_default"/> </surfacematerial> </materialx>
No branches or pull requests
Description of Issue
The add node in the following MaterialX text doesn't show up in the USD stage. I've verified that it works in MaterialXView though.
Steps to Reproduce
System Information (OS, Hardware)
macOS 11, MacBookPro (15-inch, 2019)
Package Versions
USD 21.05
Build Flags
./build_scripts/build_usd.py --materialx
The text was updated successfully, but these errors were encountered: