UnityWaterSurface icon indicating copy to clipboard operation
UnityWaterSurface copied to clipboard

Water dispersion

Open wyb969 opened this issue 5 years ago • 1 comments

Hello, I have tried to use this project to present the interaction of ship and water . However , the interaction can't show the dispersion of water ( https://www.shadertoy.com/view/lt2XWy ). So, is the algorithm determined the result ? How to improve this.... Well, Thanks a lot . image

wyb969 avatar Mar 11 '19 14:03 wyb969

Sorry for my late reply..., As you said, this is caused by the algorithm here: https://github.com/hecomi/UnityWaterSurface/blob/master/Assets/WaterSimulation.shader#L20-L36 If you want wave dispersion, please replace the above part of shader to calculate it correctly referring to the shadertoy code.

hecomi avatar Apr 06 '19 04:04 hecomi