Simple (and blazing fast) wave simulation compute shader in Unity.
Works on mobile platforms that support compute (...most modern smartphones, for example).
2024-03-11.19-09-45.mp4
Wave.Simulator.-.Rigidbody.+.Particle.System.mp4
The project itself is URP, but AFAIK this should work with any pipeline.
- Tested with Unity 2022.3 (LTS).
- Can be edited using Shader Graph.
You'll find everything under Mirza Beig/Wave Simulator/...
Use WaveSimulatorRigidbody and WaveSimulatorParticleSystem to automatically pass collisions from these types to the simulator.
See demo scene for example setups.
Do whatever you want with this.