is it possible to layer or mix shaders in karma XPU ?

   2717   5   3
User Avatar
Member
85 posts
Joined:
Offline
just want to know if its possible to layer or mix shader (principled shader or mtlx) in karma XPU

thanks
User Avatar
Member
7759 posts
Joined: Sept. 2011
Offline
XPU only supports select compatible shaders, layering is not possible.
User Avatar
Member
4 posts
Joined: March 2017
Offline
jsmack
XPU only supports select compatible shaders, layering is not possible.
Do we have a work around?
For example: a matte white bottle with a gold and shiny logo on it.
User Avatar
Member
1618 posts
Joined: March 2009
Offline
You can always go the route the game people go and prep your maps accordingly.

Like: metalness to 1 only where your shiny logo is, the rest being dielectric. Same with the colors etc.

It's nice if you can just have a library of pre-made mats and pop in a couple of layer masks, but without it you can definitely still render really nice materials.
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
644 posts
Joined: Aug. 2013
Offline
It does make me wonder what renderman are planning with their LAMA MatX shaders and gpu rendering. Assuming LAMA will eventually work on GPU, will layers and mix nodes work in their case or not. Best
User Avatar
Member
710 posts
Joined: July 2005
Online
stephenvfx
jsmack
XPU only supports select compatible shaders, layering is not possible.
Do we have a work around?
For example: a matte white bottle with a gold and shiny logo on it.

The mixing can happen before feeding the ubershader inputs.

Attachments:
mixmaterials.jpg (63.6 KB)
materialnetwork.jpg (159.4 KB)
mixmaterials.zip (333.8 KB)

  • Quick Links