mirror of
https://github.com/marinho/godot-visual-effects.git
synced 2024-12-22 22:47:28 +08:00
20 lines
595 B
Plaintext
20 lines
595 B
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://kli822acdl5m"]
|
||
|
|
||
|
[ext_resource type="Shader" path="res://camera-effects/blur.gdshader" id="1_vf6s1"]
|
||
|
|
||
|
[sub_resource type="ShaderMaterial" id="ShaderMaterial_petba"]
|
||
|
shader = ExtResource("1_vf6s1")
|
||
|
shader_parameter/blur_amount = 2.0
|
||
|
shader_parameter/mix_amount = 0.0
|
||
|
shader_parameter/color_over = null
|
||
|
shader_parameter/focus_radius = 0.25
|
||
|
shader_parameter/focus_edge = 0.1
|
||
|
|
||
|
[node name="Blur" type="ColorRect"]
|
||
|
material = SubResource("ShaderMaterial_petba")
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|