Karma XPU materials (materialX) with normal and displacement maps in Houdini




Karma XPU materials (materialX) with normal and displacement maps

in /mat context add Karma Material Builder node and dive inside delete the mtlxsurface and input nodes add Mtlx Standard Surface node and feed it into surface-output node

base-color

add Mtlx Image node and select a texture image here signature: color feed into Base-color of Mtlx Standard Surface node

roughness map

add Mtlx Image node and select a texture image here signature: float feed into specular-roughness of Mtlx Standard Surface node

normal map

add Mtlx Image node and select a texture image here signature: vector 3 add Mtlx Normal Map node mtlx imge --> (in) mtlxnormalmap (out) --> (normal) mtlx standard surface

height map

add Mtlx Image node and select a texture image here signature: float feed into mtlx displacement node adjust scale in mtlx displacement node: 0.02 (use mtlx remap node to remap range)

subsurface scattering

plug mtlx image node (with the base-color) into subsurface-color and subsurface-radius https://www.sidefx.com/tutorials/solaris-is-sweet/ on mtlx standard surface node go to Subsurface Tab Subsurface: 0.5 (if set to 1 it cancels out the normal map, maybe use displacement map additionally) Subsurface Scale: 0.03

using noise nodes

first add mtlx position node then mtlx multiply node, then mtlx 3d noise node plug into base color channel of mtlx standard node start increasing values on multiply node first (feed into the mtlx displacement node)

pass point color

(add color nodes on geo) add geometry property value node signature: color geomprop: displayColor plug into base-color of mtlx standard surface node

src

https://vimeo.com/850635920 https://vimeo.com/850635969 https://www.sidefx.com/tutorials/solaris-is-sweet/



Veröffentlicht: 11.2023