Files
godot-demo-projects/2d/screen_space_shaders/shaders/blur.shader
2019-07-31 13:15:42 -03:00

9 lines
157 B
GLSL

shader_type canvas_item;
uniform float amount : hint_range(0.0, 5.0);
void fragment() {
COLOR.rgb = textureLod(SCREEN_TEXTURE, SCREEN_UV, amount).rgb;
}