Null Node stops the stream in a MtlX shader

   994   2   1
User Avatar
Member
3 posts
Joined: 11月 2022
オフライン
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 - 2025年5月31日 07:39:47

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

User Avatar
スタッフ
1471 posts
Joined: 7月 2005
オフライン
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: 11月 2022
オフライン
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