I've made a procedural terrain using a SOP for displacement and later I applied a Mantra surface.
Now I'd like to color the terrain according to the slope profile, so that, for example, if the slope is <45° it's green, or else red.
I've tried using the globalNNormalBumpMap node to gather the normals and drive a ramp color through it without success (the object color was unaffected by my attempts).
Any chance to get some examples or hints? Thanks a lot!
Terrain shading suggestions
2040 2 1- Alessandro Mastronardi
- Member
- 6 posts
- Joined: June 2015
- Offline
- carlo_c
- Member
- 53 posts
- Joined: Jan. 2015
- Offline
Think this video will answer all your questions and more!
https://www.sidefx.com/index.php?option=com_content&task=view&id=2500& [sidefx.com]
https://www.sidefx.com/index.php?option=com_content&task=view&id=2500& [sidefx.com]
- Alessandro Mastronardi
- Member
- 6 posts
- Joined: June 2015
- Offline
-
- Quick Links