Hey guys, just want to understand what caused it. Is it because of node redesign/refactoring or something else?
Going through Materialx repo I still didn't get it (found only Lama Add node): https://sourcegraph.com/search?q=context%3Aglobal+repo%3Agithub.com%2FAcademySoftwareFoundation%2FMaterialX+file%3Aadd&patternType=standard&sm=1&groupBy=repo [sourcegraph.com]
Goal: Combine 3 MTLX standard surface shaders to get a rainbow effect on CD. How it should be done properly?
MTLX Mix node "Mix" param is somewhat confusing when mixing so I need to eyeball it (I assume this is not how it is supposed to be).
Proportional mixing (40% from shader 1, 30% from shader 2, and 30% from shader 3) still didn't get desired result:
- first mix node value = 0.571
- second mix node value = 0.429 (1 - 0.571)
In H19.5, SurfaceShader signature is present, while in H20 it's gone (with a few other signatures):
Thank you!
Why MTLX "Add" node removed SurfaceShader signature in H20?
874 3 1- AnimGraphLab
- Member
- 66 posts
- Joined: 5月 2019
- Offline
Edited by AnimGraphLab - 2023年12月19日 05:41:48
Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
- rafal
- スタッフ
- 1454 posts
- Joined: 7月 2005
- Offline
That signature was removed from the MaterialX standard in 1.38.6 [github.com]:
- commit: https://github.com/AcademySoftwareFoundation/MaterialX/pull/1089 [github.com]
- meeting notes: https://academysoftwarefdn.slack.com/archives/C0230LWBE2X/p1664303114494509 [academysoftwarefdn.slack.com]
- original discussion: https://academysoftwarefdn.slack.com/archives/C0230LWBE2X/p1663675573355349 [academysoftwarefdn.slack.com]
- commit: https://github.com/AcademySoftwareFoundation/MaterialX/pull/1089 [github.com]
- meeting notes: https://academysoftwarefdn.slack.com/archives/C0230LWBE2X/p1664303114494509 [academysoftwarefdn.slack.com]
- original discussion: https://academysoftwarefdn.slack.com/archives/C0230LWBE2X/p1663675573355349 [academysoftwarefdn.slack.com]
First question is if there is a need for these at all? And that goes for all the shader types (surfaceshader, displacementshader and volumeshader). The one operator among them that I can see some use for is the mix of surfaceshader type, mainly to be able to have materials that mask out different surface shaders on different parts of an object.
In our opinion, these nodes should not exist. The only thing you should be able to do on shader types is blending them with a mix node, all other operations should be forbidden.
Edited by rafal - 2023年12月20日 15:26:37
- jsmack
- Member
- 8037 posts
- Joined: 9月 2011
- Offline
- AnimGraphLab
- Member
- 66 posts
- Joined: 5月 2019
- Offline
Rafal, grateful for clarifications.
Jsmack, grateful for the thought!
Jsmack, grateful for the thought!
Generalist. Transforming still images to 3D animation 🔮
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
Socials: https://linktr.ee/AnimGraphLab [linktr.ee]
-
- Quick Links