flamacore / UnityHDRPSimpleWater

Simple water shader prepared with ShaderGraph in Unity 2018.3.6
MIT License
302 stars 38 forks source link

Camera Movement Water Ripple #5

Closed ryantwarner closed 4 years ago

ryantwarner commented 4 years ago

I noticed that when you move the camera the water ripples in a weird way. This update changes the 3WaveGenerator subgraph to use absolute world position to eliminate water ripple when the camera moves.

flamacore commented 4 years ago

Hey, thanks a lot for the change. Could please also include a modified unitypackage file so that I can merge the pull request directly for ease? :)

ryantwarner commented 4 years ago

Hey you're very welcome, thank you for the package in the first place! I've updated the unitypackage to include the update. :)