11 lines
212 B
Text
11 lines
212 B
Text
|
[gd_resource type="Shader" format=2]
|
||
|
|
||
|
[resource]
|
||
|
code = "shader_type canvas_item;
|
||
|
|
||
|
uniform float blur_amount : hint_range(0, 5);
|
||
|
|
||
|
void fragment() {
|
||
|
COLOR = textureLod(SCREEN_TEXTURE, SCREEN_UV, blur_amount);
|
||
|
}"
|