Skip to main content
Commonmark migration
Source Link

I'm not sure I follow your second (sub)question, but as far as the first question is concerned:

Node setup

[![node setup][1]][1]node setup

The important node I think is the Map Range node, which will take the Z-component of the geometry as input (set your desired clamp ranges here) and maps them to [0, 1], which the ColorRamp node requires.

Result

[![setup_result][2]][2]setup_result

In this animation, I am changing From Max in the Map Range node. As you can see, all values above From Max get clipped to the upper limit of the ColorRamp.

Hope this helps. [1]: https://i.sstatic.net/tYRYW.png [2]: https://i.sstatic.net/8Kqvo.gif

I'm not sure I follow your second (sub)question, but as far as the first question is concerned:

Node setup

[![node setup][1]][1]

The important node I think is the Map Range node, which will take the Z-component of the geometry as input (set your desired clamp ranges here) and maps them to [0, 1], which the ColorRamp node requires.

Result

[![setup_result][2]][2]

In this animation, I am changing From Max in the Map Range node. As you can see, all values above From Max get clipped to the upper limit of the ColorRamp.

Hope this helps. [1]: https://i.sstatic.net/tYRYW.png [2]: https://i.sstatic.net/8Kqvo.gif

I'm not sure I follow your second (sub)question, but as far as the first question is concerned:

Node setup

node setup

The important node I think is the Map Range node, which will take the Z-component of the geometry as input (set your desired clamp ranges here) and maps them to [0, 1], which the ColorRamp node requires.

Result

setup_result

In this animation, I am changing From Max in the Map Range node. As you can see, all values above From Max get clipped to the upper limit of the ColorRamp.

Hope this helps.

Source Link

I'm not sure I follow your second (sub)question, but as far as the first question is concerned:

Node setup

[![node setup][1]][1]

The important node I think is the Map Range node, which will take the Z-component of the geometry as input (set your desired clamp ranges here) and maps them to [0, 1], which the ColorRamp node requires.

Result

[![setup_result][2]][2]

In this animation, I am changing From Max in the Map Range node. As you can see, all values above From Max get clipped to the upper limit of the ColorRamp.

Hope this helps. [1]: https://i.sstatic.net/tYRYW.png [2]: https://i.sstatic.net/8Kqvo.gif