Karma XPU not accurately rendering standard shaders

   2051   4   1
User Avatar
Member
6 posts
Joined: Oct. 2011
Offline
I was checking the nodes in the Pattern menu (Ramps, Stripes, Bricker and so on), will using a Principled Shader. However it looks like all of those patterns do not work with XPU at all. It seems like all those nodes are completely ignored when connected to a shader.

I am kind of new to Houdini, so I am not sure if this "normal", or I am missing something here (?)

Attachments:
karma bug.jpg (130.9 KB)

User Avatar
Member
8538 posts
Joined: July 2007
Online
XPU doesn't use VEX so it will not work with VEX based patterns or shaders, use MtlX nodes inside of MaterialX Subnet or Karma MaterialX Subnet
Edited by tamte - May 22, 2022 00:59:33
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
1737 posts
Joined: May 2006
Offline
Yep, xpu is targeting materialx as its supported shader format. The mantra principled shader is getting live translated as a convenience, other mantra/vex nodes won't work.

Here's a hip of a stripey material built in materialx, it will work in both Karma CPU and XPU.

Attachments:
karma_stripes.hip (180.8 KB)
stripey_mtlx.PNG (261.1 KB)

http://www.tokeru.com/cgwiki [www.tokeru.com]
https://www.patreon.com/mattestela [www.patreon.com]
User Avatar
Member
6 posts
Joined: Oct. 2011
Offline
tamte
XPU doesn't use VEX so it will not work with VEX based patterns or shaders, use MtlX nodes inside of MaterialX Subnet or Karma MaterialX Subnet
Oh, I was not aware of the VEX-based stuff. To be honest I was just hoping that I was doing something wrong or that there was an easy workaround to that issue

I have checked the MaterialX stuff before, but I have only found very few info about that on the web.

Thanks for your reply.
User Avatar
Member
6 posts
Joined: Oct. 2011
Offline
mestela
Here's a hip of a stripey material built in materialx, it will work in both Karma CPU and XPU.
I was just wondering if it was possible to create those kind of pattern using MaterialX (as it seems there do not exist as "external" nodes themselves).

Thanks for sharing!
  • Quick Links