Hi !
And the Gerstner Wave Shader Function is a bit messy :
But it's basically this function :
Here's my question : In the video and in the paper, they uses this function to recalculate the vertex normals :
But I can't figure out how to reproduce the Unreal Graph for this function inside of Amplify Shader Editor, it gives me really strange artifacts.
I assume that it's because both the paper and Unreal uses different x y z coordinates systems, but I can't figure out what to change :c
How should I go about recalculate these normals ? I hope someone here can help me, I've been struggling with this a lot !
PS: I'm french, please excuse my english ^^
Replies