MaterialX displacement issue - what am I doing wrong?

   1419   3   3
User Avatar
Member
9 posts
Joined: April 2025
Offline
Hi

Please take a look at the attached image,
Can someone point out what am I doing wrong here trying to get basic displacemen working?

As you can see, displacement shifts to either left or right at the same time.

Simple materialx shader.

This does not happen using Mantra shader from Quixel Export. Displacement looks beatifull.

Thank you
Edited by yuko3d - May 7, 2025 12:43:50

Attachments:
displacement issue.png (2.5 MB)
displacement issue2.png (1.3 MB)

User Avatar
Member
2 posts
Joined: Aug. 2021
Offline
Hey!

I ran into the same issue recently and might have some insight that could help.

It turns out Houdini (when using Karma, especially XPU) often converts your image textures (like .exr, .png) into .rat files behind the scenes. This is meant to optimize render performance and texture handling — but the conversion doesn’t always happen instantly or predictably.

In my case, I saw the same displacement artifact you're getting — but when I disconnected and reconnected the texture input (or reloaded the file), the issue disappeared. That probably forced Houdini to refresh the .rat conversion and re-evaluate the texture.

I’m attaching a screenshot of a simple working setup (texture on a grid using Karma XPU) in case it helps you troubleshoot or compare!
Edited by Italimpex Productions - May 8, 2025 13:30:27

Attachments:
material_setup.png (104.6 KB)

User Avatar
Member
154 posts
Joined: June 2020
Offline
Your displacement is set to 'Vector3'. Unless your image is a vector displacement texture it should be set to "Float" so Houdini doesn't treat the greyscale image as vector displacement.
User Avatar
Member
9 posts
Joined: April 2025
Offline
Well, just for the record the issue resolved today by itselft when I started to move the offset controller - which is basically a mtlxremap node . Displacement went from skewed to perfect all of a sudden. Don't know, maybe something was forced to recompile at that same moment. It looks beatifull now. Btw, playing with Float, Vector2, Vector3 did not fix the issue, but only when I touched remaping the displacement straightened itselft. Maybe a bug.

Peace out

Attachments:
displacement issue3.png (1.5 MB)

  • Quick Links