forked from AcademySoftwareFoundation/MaterialX
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for top level inputs (AcademySoftwareFoundation#1453)
Fix so that top level inputs are parsed properly and values and path reflection data is correct (for uniform updates).
- Loading branch information
Showing
3 changed files
with
22 additions
and
2 deletions.
There are no files selected for viewing
10 changes: 10 additions & 0 deletions
10
resources/Materials/TestSuite/stdlib/nodegraph_inputs/top_level_input.mtlx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?xml version="1.0"?> | ||
<materialx version="1.38" colorspace="lin_rec709"> | ||
<surfacematerial name="surfacematerial" type="material" xpos="17.246376" ypos="-15.689655"> | ||
<input name="surfaceshader" type="surfaceshader" nodename="surface_unlit" /> | ||
</surfacematerial> | ||
<input name="input_color3" type="color3" value="0, 0, 1" xpos="10.905797" ypos="-15.982759" /> | ||
<surface_unlit name="surface_unlit" type="surfaceshader" xpos="14.231884" ypos="-16.241379"> | ||
<input name="emission_color" type="color3" interfacename="input_color3" /> | ||
</surface_unlit> | ||
</materialx> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters