Skip to content

Instantly share code, notes, and snippets.

View rmichaluszek's full-sized avatar

Rafał Michałuszek rmichaluszek

  • Poland, Kraków
View GitHub Profile
shader_type canvas_item;
uniform float frequency=5;
uniform float depth = 0.01;
uniform float speed_multiplier = 2.0;
void fragment() {
float multiplier = 1.0-(UV.y+0.3);
if(multiplier <= 0.0) {