[gd_scene load_steps=8 format=3 uid="uid://gg5ph541e4p3"]

[ext_resource type="Script" path="res://scripts/player.gd" id="1_8d33x"]
[ext_resource type="PackedScene" uid="uid://cl6gw3huejnrl" path="res://scenes/gravity_gun.tscn" id="2_ahuce"]
[ext_resource type="Script" path="res://shaders/gdscript_assist/ddof.gd" id="2_jg7te"]
[ext_resource type="Shader" path="res://shaders/ddof.gdshader" id="2_rpqdy"]

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_2qx4s"]
height = 1.9

[sub_resource type="ShaderMaterial" id="ShaderMaterial_52bjo"]
render_priority = 0
shader = ExtResource("2_rpqdy")
shader_parameter/ray_position = null
shader_parameter/blur_strength = 3
shader_parameter/blur_falloff = 7.0
shader_parameter/blur_near = 20.0
shader_parameter/blur_far = 200.0

[sub_resource type="QuadMesh" id="QuadMesh_dicpk"]
material = SubResource("ShaderMaterial_52bjo")
flip_faces = true
size = Vector2(2, 2)

[node name="Player" type="CharacterBody3D"]
script = ExtResource("1_8d33x")

[node name="CollisionShape3D" type="CollisionShape3D" parent="."]
shape = SubResource("CapsuleShape3D_2qx4s")

[node name="Camera3D" type="Camera3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.8, 0)
current = true

[node name="DDOF" type="MeshInstance3D" parent="Camera3D"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -1)
visible = false
mesh = SubResource("QuadMesh_dicpk")
script = ExtResource("2_jg7te")

[node name="GravityGun" parent="." instance=ExtResource("2_ahuce")]
