Houdini 20.5 Karma MaterialX Normals/displacement

   1049   7   0
User Avatar
Member
252 posts
Joined: July 2005
Offline
Hey all,

Just getting my head around some of the Solaris/Karma/MaterialX workflows.

Having a devil of a time trying to figure out how I'm meant to wire normal/displacement maps, in the latest mtlxstandard surface implementation - anywhere I can grab a working example? Nothing I see online seems to have what I'm seeing here in terms of the parameters setup...

Attachments:
materialx_normals_displacement.png (30.8 KB)

User Avatar
Member
140 posts
Joined: June 2020
Offline
Plug your displacement map into the mtlxdisplacement node.
Plug your normal map into the mtlxstandard_surface, under geometry > normals.
User Avatar
Member
252 posts
Joined: July 2005
Offline
Not seeing an input under geometry/normals… ?
User Avatar
Member
252 posts
Joined: July 2005
Offline
The other thing - my displacement is centered at .5 (typical), but inflates the geo - not seeing a way to "centre" the displacement...?
User Avatar
Member
252 posts
Joined: July 2005
Offline
Tried going back to the VEX principled_shader for Karma CPU, get some very broken looking results (despite Karma CPU compatibility with Vex principled shader...?)
User Avatar
Member
140 posts
Joined: June 2020
Offline
stu
Not seeing an input under geometry/normals… ?


stu
The other thing - my displacement is centered at .5 (typical), but inflates the geo - not seeing a way to "centre" the displacement...?
There's a mtlx remap node.

Attachments:
normals.jpg (48.4 KB)

User Avatar
Member
3 posts
Joined: April 2021
Offline
Hi Stu, wiring Normal maps and Dispacement maps can be a little tricky using MaterialX.

1 - Import your images with a MtlX Tiled Image
2 - For the displacement map, change the signature to "Float"
3 - For the Normal map, change the signature to "vector3"
4 - While you can plug the Displacement already, the Normal map needs a MtlX Normal Map Node.

Check the attached image, I really hope this helps!
Edited by Mario_Leone - May 31, 2025 07:51:25

Attachments:
Example_001.png (60.2 KB)

Mario Leone

Hey I have a YouTube Channel, maybe it's helpful, check it out :)

YT - https://www.youtube.com/@nodeflowhoudini?sub_confirmation=1
User Avatar
Member
252 posts
Joined: July 2005
Offline
Thanks all, very much appreciated! I’ll give it a try! Apart from the usual growing pains when one undertakes such a drastic workflow adjustment, I can definitely see the advantages!

@Mario: already sub'd, great stuff!
Edited by stu - May 31, 2025 12:40:28
  • Quick Links