Closed marwie closed 1 year ago
Hi @marwie , @jstone-lucasfilm
I tested this with the downstream update fix and it seems to work okay now (with the original graph).
BTW, you can get rid of the constant
nodes and dot
in between other nodes as they are not needed.
Here's a video of my tests with the latest: https://github.com/AcademySoftwareFoundation/MaterialX/assets/49369885/feccc319-464e-43ce-b542-ab653fcc195a
Looks good to me, @kwokcb, and thanks for the fix!
Hello, I'm currently having issues with color nodes sometimes not working as expected / seemingly not being evaluated anymore.
The following video shows the nodegraph as it should work (as expected)
https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/7b0470f5-dfb4-41c3-bfee-d0a9a10ae2c7
But for some reason the graph below doesn't evaluate (I guess something
https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/6bd1e256-e8d6-45c2-80dd-8d63d42297f1
https://github.com/AcademySoftwareFoundation/MaterialX/assets/5083203/4aa3457b-52be-4ab7-aac6-9b588febc3fc
Issue 1
I just noticed is that I deleted the nested nodegraph (in the editor) but e.g.
metalness
still has the nodegraph/output reference. So deleting the input graph didn't properly cleanup the shader input connection rendering the whole graph invalidHere is graph from the video after having deleted the nested nodegraph.
Original graph
Here is the original graph where this structure was nested in a nodegraph element I'm currently trying to understand why the color values are clamped