This is the last part of the breakdown of my shaders based on work by I also did the final calculation in a custom node, as it was simpler to read than trying to drag the pins from each variable in…
Source: Floating World Shader Part 5 – Ocean Material – Amy’s Tech Art Blog