This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
shader_type canvas_item; | |
render_mode blend_mix; | |
uniform float noiseSize : hint_range(0, 50) = 15.0; | |
uniform float speed : hint_range(-10.0, 10.0); | |
uniform float albedo : hint_range(0.0, 1.0) = 0.7; | |
float rand(vec2 coord) { | |
return fract(sin(dot(coord, vec2(35, 62)) * 1000.0) * 1000.0); | |
} |