0

I've been following this post to ColorRamp my mountains according to height - however as much as i fiddle around with the X, Y and Z axis they seem to have no effect vertically and simply point towards each corner.

what it looks like

Here's my node set up.

nodes

Is there something I'm missing? Maybe a node? Thanks for the help! (Yes it is unwrapped and in cycles)

Danny G
  • 51
  • 1
  • 3

2 Answers2

1

It looks like if you plug your Mapping node into a Converter > Separate XYZ node then put the Z outlet into the ColorRamp node, it works fine. You could also change the values of the Mapping node to have a vertical gradient (-35°, 45°, 0°).

enter image description here

moonboots
  • 155,560
  • 7
  • 105
  • 171
0

tested it and it works on other objects, so i think the problem is with you mesh. How is it generated? Maybe the polys aren't really there yet (EditMode) to work with object z coords.

Chris
  • 59,454
  • 6
  • 30
  • 84
A M
  • 2,157
  • 6
  • 15