10 lines
247 B
Plaintext
10 lines
247 B
Plaintext
shader_type canvas_item;
|
|
|
|
uniform sampler2D screen_texture : hint_screen_texture, filter_linear_mipmap;
|
|
|
|
uniform float blur_amount : hint_range(0.0, 5.0) = 2.5;
|
|
|
|
void fragment() {
|
|
COLOR = textureLod(screen_texture, SCREEN_UV, blur_amount);
|
|
}
|