[gd_scene format=3 uid="uid://hac4l25a1g7v"]

[ext_resource type="Shader" uid="uid://cgfte1tvivngj" path="res://new_shader.gdshader" id="1_gbilv"]
[ext_resource type="Script" uid="uid://bfvl27u51p0lf" path="res://character_body_3d.gd" id="2_atw5s"]

[sub_resource type="BoxMesh" id="BoxMesh_4127l"]

[sub_resource type="CameraTexture" id="CameraTexture_ey7nh"]

[sub_resource type="Gradient" id="Gradient_atw5s"]

[sub_resource type="GradientTexture2D" id="GradientTexture2D_atw5s"]
gradient = SubResource("Gradient_atw5s")

[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_atw5s"]

[sub_resource type="ShaderMaterial" id="ShaderMaterial_i0stl"]
render_priority = 0
shader = ExtResource("1_gbilv")
shader_parameter/width = 0.1
shader_parameter/height = 0.1
shader_parameter/gap_x = 0.02
shader_parameter/gap_y = 0.04
shader_parameter/sink = -0.5
shader_parameter/brick = SubResource("CameraTexture_ey7nh")
shader_parameter/wall = SubResource("NoiseTexture2D_atw5s")
shader_parameter/gap = SubResource("GradientTexture2D_atw5s")
shader_parameter/ratio = 0.5

[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_yp6wb"]
radius = 0.12158203
height = 0.43318358

[sub_resource type="Environment" id="Environment_yp6wb"]
background_mode = 1
background_color = Color(1, 0.5254629, 0.55886984, 1)
ambient_light_color = Color(0.71889627, 0.67300373, 0.93241364, 1)

[node name="Node3D" type="Node3D" unique_id=367464733]

[node name="CSGMesh3D" type="CSGMesh3D" parent="." unique_id=2026853425]
transform = Transform3D(2, 0, 0, 0, 2, 0, 0, 0, 2, 0, 0, 0)
use_collision = true
flip_faces = true
mesh = SubResource("BoxMesh_4127l")
material = SubResource("ShaderMaterial_i0stl")

[node name="OmniLight3D" type="OmniLight3D" parent="." unique_id=432683985]

[node name="CharacterBody3D" type="CharacterBody3D" parent="." unique_id=287273578]
script = ExtResource("2_atw5s")

[node name="Camera3D" type="Camera3D" parent="CharacterBody3D" unique_id=871682469]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 0.53903836)
current = true

[node name="CollisionShape3D" type="CollisionShape3D" parent="CharacterBody3D" unique_id=1029909573]
shape = SubResource("CapsuleShape3D_yp6wb")

[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1564628371]
environment = SubResource("Environment_yp6wb")
