How to preview a materialx node?

   2661   7   3
User Avatar
Member
681 posts
Joined: 11月 2013
オフライン
Hi,
When authoring mtlx material, how to preview a intermediate node's result without creating a new surface shader and connecting to it?
Thanks.
User Avatar
Member
1877 posts
Joined: 3月 2009
オフライン
Select the node, press "X", and it will create a visualizer that overrides surface.
Martin Winkler
User Avatar
Member
681 posts
Joined: 11月 2013
オフライン
Thanks!
It seemed there is a bug that the visualizer does not work if a pattern node has only one connection to displacement.
User Avatar
Member
3 posts
Joined: 11月 2016
オフライン
In Karma, the visualize node only seems to work if the node you're previewing is connected to the output down stream.
Is there any way around this, other than going through the hassle of creating an unlit surface and connecting to the surface output to preview WIP areas of the shading network?
User Avatar
Member
8240 posts
Joined: 9月 2011
オフライン
GustavBP
Is there any way around this, other than going through the hassle of creating an unlit surface and connecting to the surface output to preview WIP areas of the shading network?

make sure the network is not isolated from the material. I can be connected to anything, it doesn't have to be contributing meaningfully.
User Avatar
Member
21 posts
Joined: 11月 2019
オフライン
I'm having the same issue, the visualzier only seems to preview certain nodes and not others.
So does this mean you have to have the node you're trying to preview connected to the main MaterialX Shader output in order to preview it?

mtlximage1 - can be previwed fine:


mtlximage8 & 9 - doesnt show anything:



But the normal map seems to preview ok too:



Thanks
Edited by inversionstudio - 2026年4月16日 08:18:57

Attachments:
viz_ok.png (1.2 MB)
viz2.png (1.2 MB)
viz3.png (1.2 MB)
viz_normal.png (1.7 MB)

User Avatar
Member
28 posts
Joined: 10月 2020
オフライン
It has to be connected to something for it to work. This node is also extremely finnicky and causes a lot of crashes for us so beware. You can always drop a surface unlit shader and connect that to the output, very annoying and slow to work with but at least it doesn't crash 50% of the time.
Edited by edlgm - 2026年4月16日 16:55:44
Enrique De la Garza
CG Supervisor @Frame48
User Avatar
Member
21 posts
Joined: 11月 2019
オフライン
Many thanks for the reply edlgm - ill stick to COPs then
  • Quick Links