Files
MovementTests/scenes/player_controller/shaders/Vignette.gdshader
Minimata cd519e528f
All checks were successful
Create tag and build when new code gets to main / BumpTag (push) Successful in 55s
Create tag and build when new code gets to main / Test (push) Successful in 7m7s
Create tag and build when new code gets to main / Export (push) Successful in 9m56s
complete project reorganization
2026-02-04 11:20:00 +01:00

11 lines
277 B
Plaintext

shader_type canvas_item;
uniform vec4 color : source_color;
uniform float multiplier = 0.2;
uniform float softness = 3.0;
void fragment() {
float distance_to_center = distance(UV, vec2(0.5));
COLOR = vec4(color.rgb, smoothstep(multiplier, softness, distance_to_center));
}