wave-harmonic / crest

A class-leading water system implemented in Unity
MIT License
3.4k stars 475 forks source link

Reduce Water Body material override leaks #1107

Closed daleeidd closed 1 year ago

daleeidd commented 1 year ago

The water tile's expanded bounds would cause materials to leak outside of the water body.

Use the unexpanded bounds to reduce leaking as generally this feature will be for an inland body of water where hopefully there is attenuation between it and the ocean to handle the ocean's displacement. The inland water body will unlikely have large displacement but can be mitigated with a decent buffer zone.