Karma XPU MTLX "MixShader"?

   3226   10   3
User Avatar
Member
29 posts
Joined: Jan. 2020
Offline
I feel like I am missing something, I would like to use Karma XPU for an upcoming project. I have a simple material setup with a mix between a diffuse and a metallic MTLX shader. I am getting the below error:

KarmaXPU: Material _sg_s_5510EB952FE4D00E has type not handled by XPU, skipped

I realize it is saying the "mix shader" is not supported by XPU.

Is there a workaround? It works fine with CPU.

This seems like such a basic need that it is making me think I am doing something wrong. There are so many seemingly abstract nodes for XPU why would devs omit the MTLXMIX?
User Avatar
Staff
531 posts
Joined: May 2019
Offline
Sorry, mixing of arbitrary materials is not yet supported by XPU
XPU limitations are listed here
https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html#summary [www.sidefx.com]
(this falls under the category of "PBR" nodes)

We are working on addressing this though, so watch this space
User Avatar
Member
7 posts
Joined: July 2014
Offline
brians
Sorry, mixing of arbitrary materials is not yet supported by XPU
XPU limitations are listed here
https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html#summary [www.sidefx.com]
(this falls under the category of "PBR" nodes)

We are working on addressing this though, so watch this space


Hey there,
just tested this in Karma XPU in the new H20 release, but it still doesn't seem to be supported to mix surfaces, right? Or am I missing something here?
Thanks!
User Avatar
Staff
531 posts
Joined: May 2019
Offline
you can mix two MtlxStandardSurfaces via a MtlxMix node
https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html#summary [www.sidefx.com]
User Avatar
Member
7 posts
Joined: July 2014
Offline
brians
you can mix two MtlxStandardSurfaces via a MtlxMix node
https://www.sidefx.com/docs/houdini/solaris/karma_xpu.html#summary [www.sidefx.com]

Hey brians,
thanks for the reply. That is what I am already using, it works fine in Karma CPU but the same shader renders just grey in XPU currently. I do not get the same error as in H 19.5 saying it doesn't support MtlxMix nodes anymore but it still doesn't render correctly.
Thanks!
User Avatar
Staff
531 posts
Joined: May 2019
Offline
I'm not sure what issue you have.
But here is an example.
Does it work for you?

Attachments:
standard_surface_mix.hip (192.9 KB)
blend_screenshot.PNG (1.4 MB)

User Avatar
Member
7 posts
Joined: July 2014
Offline
brians
I'm not sure what issue you have.
But here is an example.
Does it work for you?

Hey,
Yes that example file works on my side as well. I noticed however when I add another MtlxMix node after that one and add another surface mix it fails to render on XPU which is what I did in my project as well to layer different shaders, still works fine on CPU though (attached example). Is that a Karma XPU limitation at the moment then?
Thanks!

Attachments:
standard_surface_doubleMix.hiplc (200.4 KB)

User Avatar
Staff
531 posts
Joined: May 2019
Offline
eyellusion
Is that a Karma XPU limitation at the moment then?

Yes, it currently allows only the mixing of two MtlxStandardSurface nodes.
User Avatar
Member
7 posts
Joined: July 2014
Offline
brians
eyellusion
Is that a Karma XPU limitation at the moment then?

Yes, it currently allows only the mixing of two MtlxStandardSurface nodes.

I see, good to know. Can probably find a workaround then. Thanks!
User Avatar
Member
2 posts
Joined: Oct. 2019
Offline
how can i render landscape layer with mult texture
User Avatar
Member
6 posts
Joined: Feb. 2020
Offline
eyellusion
brians
eyellusion
Is that a Karma XPU limitation at the moment then?

Yes, it currently allows only the mixing of two MtlxStandardSurface nodes.

I see, good to know. Can probably find a workaround then. Thanks!
did you find something?
  • Quick Links