Learn how to use Color Curves, Curve Atlases and the Depth Fade Node in your materials to achieve very unique color transitions: Perfect for faking stylized water depth. This tutorial shows how to set up curve assets and use them effectively, authoring a depth-to-color gradient using curves instead of hard-coded lerps. You learn how to fine control with the common example of how water looks at different depths using a setup that’s both flexible and easy to maintain.
https://dev.epicgames.com/community/learning/tutorials/kBRK/unreal-engine-using-curves-for-color-transitions-with-depth-fade