[Interaction 2] Water Ripple Effect
Peer Play(2015) Ripple Water Shader - Unity CG/C# Tutorial [Part 1/3]. Youtube. Apr 4. Available at: LINK
I have tried on different tutorials. At last, I have picked on another tutorial as it is more flexible for my further development.
Water ripple effect following the mouse cursor
Spontaneous Simulations (2022) Can you simulate waves in Unity? Create realistic water effects using wave equation - Unity Tutorial. Youtube. Apr 20. Available at: LINK
The tutorial had taught me how to create the water ripple effect based on some equations for the ripples. The water ripples are pretty smooth, however, the frequency is a bit too fast. Thus, I have added timer to slow down the ripple effect.
The main interaction for the water ripple mainly rely on the function of MousePositionOnTexture(). As long as the code changed for LIDAR detection, it definitely works fine.
Water ripple effect following user detection

Line 145 is the only code to replace the position of the mouse cursor with LIDAR detection.
Comments
Post a Comment