Interactive Water Shader with a Deformable Mesh

Interactive Water Shader with a Deformable Mesh

Checkout a playable demo!

Controls: Use the arrow keys or WASD keys to move the purple sphere around. You can also click on the water with the mouse cursor to deform it.

This application was developed for the Computer Animation discipline of the Msc course in Computer Science at PUCRS. It combines a deformable mesh that is able to interact with rigid bodies alongside a water shader with vertex displacement.

For more details regarding the implementation and experiments executed, check out the technical report.

example2example2

The deformable mesh was implemented based on Catlike Coding’s tutorial and the ripples were added by following Minions Art’s tutorial.

Source code available on GitHub.