Null Node stops the stream in a MtlX shader

   1325   2   1
User Avatar
Member
3 posts
Joined: Nov. 2022
Offline
Does anyone know why the null node in a MaterialX subnet or in Karma Material Builder stops the stream at the place it is connected? I thought it's supposed to do nothing and pass anything from its input to its output. It tried both in Karma CPU and XPU. I am attaching screenshots with a simple example. Thanks.




Edited by ivYan - May 31, 2025 07:39:47

Attachments:
Screenshot 2025-05-28 122325.png (403.3 KB)
Screenshot 2025-05-28 122306.png (433.5 KB)

User Avatar
Staff
1471 posts
Joined: July 2005
Offline
Not supporting Null VOP fully is a bug (117527 & 145190). IIRC the main obstacle is that null allows renaming ports (variables) in the generated source, so would probably need to be translated into a bunch of Mtlx Dot shaders. Or just keep it simple and flow thru without ability to rename anything.
User Avatar
Member
3 posts
Joined: Nov. 2022
Offline
rafal
Not supporting Null VOP fully is a bug (117527 & 145190). IIRC the main obstacle is that null allows renaming ports (variables) in the generated source, so would probably need to be translated into a bunch of Mtlx Dot shaders. Or just keep it simple and flow thru without ability to rename anything.

Thank you for the response!
  • Quick Links