Godot-Water-Ripple-Simulation-Shader icon indicating copy to clipboard operation
Godot-Water-Ripple-Simulation-Shader copied to clipboard

Height values & bouyancy forces

Open Reitmania opened this issue 2 years ago • 1 comments

Hi, nice video on yt and nice shader! Would it be possible to extract the height values of the water surface to implement bouyancy forces depending on the ripples? Did something similar in Unity, but I stuck at reading height values from the simulation colorrect (if this is even correct).

Reitmania avatar Nov 09 '23 21:11 Reitmania

Did you use get_pixel at mouse pos for the simulation texture.

Thultex avatar May 06 '24 16:05 Thultex