natural-mystic-shaders icon indicating copy to clipboard operation
natural-mystic-shaders copied to clipboard

Try using exponentiated sine waves to perturb water surface normals

Open depressed-pho opened this issue 6 years ago • 0 comments

The shader currently uses Gerstner wave function for both geometric and normal perturbance, but it might be better to use exponentiated (possibly squared?) sine waves for the latter. This is because the soft edges of Gerstner waves tends to create line-like artifacts of specular light for non-directional light sources.

But it means that I will have to get partial derivations of such a wave function and thus strains my math brain.

depressed-pho avatar Feb 13 '19 12:02 depressed-pho