-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathworld.tscn
116 lines (98 loc) · 4.05 KB
/
world.tscn
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[gd_scene load_steps=11 format=3 uid="uid://2bgr3o35dc77"]
[ext_resource type="Script" path="res://scripts/daytime.gd" id="1_sd5hu"]
[ext_resource type="Script" path="res://scripts/terrain.gd" id="2_kny2v"]
[ext_resource type="Script" path="res://scripts/player.gd" id="2_wmypn"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_n6vu6"]
rayleigh_color = Color(0.247059, 0.498039, 0.74902, 1)
mie_color = Color(0.74902, 0.87451, 1, 1)
ground_color = Color(0.498039, 0.435294, 0.372549, 1)
[sub_resource type="Sky" id="Sky_tey3t"]
sky_material = SubResource("PhysicalSkyMaterial_n6vu6")
process_mode = 3
[sub_resource type="Environment" id="Environment_m507g"]
background_mode = 2
sky = SubResource("Sky_tey3t")
tonemap_mode = 2
ssao_enabled = true
ssil_enabled = true
sdfgi_use_occlusion = true
glow_enabled = true
fog_light_color = Color(0.247059, 0.372549, 0.498039, 1)
volumetric_fog_enabled = true
volumetric_fog_density = 0.01
[sub_resource type="Animation" id="Animation_ul771"]
resource_name = "daytime"
loop_mode = 1
step = 0.025
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath(".:rotation")
tracks/0/interp = 1
tracks/0/loop_wrap = true
tracks/0/keys = {
"times": PackedFloat32Array(0, 0.25, 0.5, 0.75, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1),
"update": 0,
"values": [Vector3(-1.0472, 0, 0), Vector3(0, 1.5708, 0), Vector3(-1.0472, 3.14159, 0), Vector3(0, 4.71239, 0), Vector3(-1.0472, 6.28319, 0)]
}
tracks/1/type = "value"
tracks/1/imported = false
tracks/1/enabled = true
tracks/1/path = NodePath(".:light_energy")
tracks/1/interp = 1
tracks/1/loop_wrap = true
tracks/1/keys = {
"times": PackedFloat32Array(0, 0.225, 0.25, 0.325, 0.5, 0.675, 0.75, 0.775, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [0.01, 0.01, 0.0, 5.0, 10.0, 5.0, 0.0, 0.01, 0.01]
}
tracks/2/type = "value"
tracks/2/imported = false
tracks/2/enabled = true
tracks/2/path = NodePath(".:light_color")
tracks/2/interp = 1
tracks/2/loop_wrap = true
tracks/2/keys = {
"times": PackedFloat32Array(0, 0.225, 0.25, 0.275, 0.3, 0.325, 0.675, 0.7, 0.725, 0.75, 0.775, 1),
"transitions": PackedFloat32Array(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1),
"update": 0,
"values": [Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 0.247059, 0, 1), Color(1, 0.623529, 0.247059, 1), Color(1, 0.937255, 0.87451, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 1), Color(1, 0.937255, 0.87451, 1), Color(1, 0.623529, 0.247059, 1), Color(1, 0.247059, 0, 1), Color(1, 1, 1, 1), Color(1, 1, 1, 1)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_auf8j"]
_data = {
"daytime": SubResource("Animation_ul771")
}
[sub_resource type="CapsuleMesh" id="CapsuleMesh_oay6h"]
[sub_resource type="CapsuleShape3D" id="CapsuleShape3D_pjlnj"]
[node name="Node3D" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_m507g")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment"]
transform = Transform3D(1, 0, 0, 0, 0.499998, 0.866026, 0, -0.866026, 0.499998, 0, 10, 0)
light_energy = 0.01
shadow_enabled = true
[node name="AnimationPlayer" type="AnimationPlayer" parent="WorldEnvironment/DirectionalLight3D"]
libraries = {
"": SubResource("AnimationLibrary_auf8j")
}
script = ExtResource("1_sd5hu")
[node name="Player" type="CharacterBody3D" parent="."]
floor_max_angle = 1.0472
floor_snap_length = 0.0
script = ExtResource("2_wmypn")
[node name="PlayerShape" type="MeshInstance3D" parent="Player"]
mesh = SubResource("CapsuleMesh_oay6h")
[node name="PlayerCollision" type="CollisionShape3D" parent="Player"]
shape = SubResource("CapsuleShape3D_pjlnj")
[node name="PlayerLight" type="SpotLight3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.5, 0)
light_color = Color(0.74902, 0.87451, 1, 1)
light_energy = 2.5
shadow_enabled = true
spot_range = 50.0
[node name="PlayerCamera" type="Camera3D" parent="Player"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0)
[node name="Terrain" type="Node3D" parent="."]
script = ExtResource("2_kny2v")