amterp / COMP30019-Project-1

Project 1 for 2018 Semester 2 of COMP30019
1 stars 0 forks source link

Gerstner Waves 2.0 #66

Closed samuel-x closed 6 years ago

samuel-x commented 6 years ago

Added a preventative measure to stopping the amplitude from "rolling over" when it is set too high Added a "direction" function to the wave. Now you can set the angle at which the wave traverses the world. Added a "Tide" to the gerstner wave. Also set realistic values for this new wave. Refactored Phong shading code in both WavesShader and TerrainHeightShader so it looks neater.

amterp commented 6 years ago

Looks great! I'll play around with the wave values.