0
Under review

soft clamp node

BecomingAt . 10 years ago updated by Freya Holmér (Developer) 10 years ago 2
A clamp node with ease in and out. 

Copied from the softimage user guide:
ValueThe input value to clamp.
Limit1One limit of the range to clamp values to.
Limit1 SoftnessThe ease-in of the result as the input value approaches Limit1. When this value is 0.0, the result becomes clamped abruptly when the input value is outside the limits.
Limit2The other limit of the range to clamp values to.
Limit2 SoftnessThe ease-in of the result as the input value approaches Limit2. When this value is 0.0, the result becomes clamped abruptly when the input value is outside the limits.
Hm, maybe. I've planned to make a smooth node, which smooths a 0-1 range value.

Do you have a use-case for this?
yeah, i am working on a cloud shader where i layer noise textures and need to clamp them dynamically, preferably not just with a hard clamp. I was trying to make a soft clamp with the existing nodes but my math skills are not good enough i guess.