Displacement issue

   1042   2   1
User Avatar
Member
340 posts
Joined: June 2017
Offline
I would like to have aanoise used both for color and displacement. I created two simple principled shaders, "green" and "blue" and added a layer mix. I'm using rest position to add an aanoise and have this both affect alpha of the mix and displacement. I want to displace along normal a small amount inward for one of the shaders, but it doesn't seem to be working correctly. Have I connected the outputs incorrectly? Thanks.

Attachments:
DisplacementBad.jpg (83.7 KB)
DisplacementProblem.jpg (106.4 KB)
DisplacementProblem.hiplc (410.2 KB)

User Avatar
Member
8554 posts
Joined: July 2007
Offline
the Maximum Displacement parameter is not for scaling the displacement, but for setting the bounds for the custom disp input in case you are not using Full Predicing

so you are essentially just clamping very strong displacement

so instead multiply your disp value before plugging into the Principled Shader and keep your Maximum Displacement higher that expected maximum displacement distance

You can also change Displacement Mode in Layer Mix to Use B to get it's full influence rather than being blended
Edited by tamte - Jan. 24, 2022 04:56:17

Attachments:
DisplacementProblem_fix.hipnc (412.3 KB)

Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
340 posts
Joined: June 2017
Offline
Thank you, Tomas. That was driving me crazy.
  • Quick Links