Skip to content

Instantly share code, notes, and snippets.

@Hex27
Hex27 / dust.gdshader
Created April 11, 2024 17:00
Godot shader for Undertale-like dusting effect
shader_type canvas_item;
uniform float progress : hint_range(0.0, 1.0);
//https://godotshaders.com/snippet/random-value
float random (vec2 uv) {
return fract(sin(dot(uv.xy,
vec2(12.9898,78.233))) * 43758.5453123);
}