Displacement map question

Started by rolland1013, May 20, 2025, 04:00:07 PM

Previous topic - Next topic

rolland1013

I not having any luck getting this to work. I have a displacement map of a jagged rock surface that I want to apply to my terrain surface. But I want it to only affect terrain with a slope greater than 30 degrees. I've tried using the altitude constraints in a Surface Layer node, but it doesn't work. As a test, I created a small painted shader, and that works. But that isn't a practical solution for what I'm trying to do. Is there a way of doing this that uses slope and elevation to mask a displacement map?

Thanks,
Niel

Kevin Kipper

You may have to add a Compute Normal node after any terrain displacement and before the displacement from the jagged rock image.  Then, you could use an Image Map Shader node (with jagged rock) with displacement enabled and a Distribution Shader as a mask.  Set the Slope Constraints in the Distribution shader.

Matt

Alternatively, make sure that your Surface Layer's position in the node network is anywhere after the Compute Terrain which is part of a typical project.
Just because milk is white doesn't mean that clouds are made of milk.