-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.tscn
152 lines (134 loc) · 6.58 KB
/
test.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
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
[gd_scene load_steps=13 format=3 uid="uid://deboo2llbfvi6"]
[ext_resource type="Script" path="res://fps_counter.gd" id="1"]
[ext_resource type="ArrayMesh" uid="uid://qejwjm0nbox4" path="res://trespass.obj" id="2"]
[ext_resource type="Texture2D" uid="uid://dqfltyjmadpam" path="res://textures/rock_01_diff_2k.jpg" id="3"]
[ext_resource type="Texture2D" uid="uid://cfqw1n7p1dqua" path="res://textures/rock_01_ao_2k.jpg" id="4"]
[ext_resource type="Texture2D" uid="uid://ct4r71phc1m8s" path="res://textures/rock_01_rough_2k.jpg" id="5"]
[ext_resource type="Texture2D" uid="uid://bp6i7va0jpx07" path="res://textures/rock_01_nor_2k.jpg" id="6"]
[ext_resource type="Script" path="res://scale_factor_label.gd" id="8"]
[ext_resource type="Script" path="res://animation_player.gd" id="10"]
[sub_resource type="Environment" id="1"]
background_mode = 1
background_color = Color(1, 0.882353, 0.701961, 1)
ambient_light_source = 2
ambient_light_color = Color(1, 0.94, 0.85, 1)
ambient_light_sky_contribution = 0.0
ambient_light_energy = 0.1
tonemap_mode = 3
tonemap_white = 6.0
ssr_max_steps = 512
ssao_enabled = true
ssao_ao_channel_affect = 1.0
sdfgi_enabled = true
sdfgi_use_occlusion = true
sdfgi_cascades = 3
glow_enabled = true
volumetric_fog_enabled = true
volumetric_fog_temporal_reprojection_enabled = false
[sub_resource type="StandardMaterial3D" id="3"]
albedo_texture = ExtResource("3")
roughness_texture = ExtResource("5")
normal_enabled = true
normal_texture = ExtResource("6")
ao_enabled = true
ao_texture = ExtResource("4")
uv1_scale = Vector3(0.025, 0.025, 0.025)
uv1_triplanar = true
[sub_resource type="Animation" id="4"]
resource_name = "move_camera"
length = 30.0
loop_mode = 1
tracks/0/type = "value"
tracks/0/imported = false
tracks/0/enabled = true
tracks/0/path = NodePath("Camera:transform")
tracks/0/interp = 2
tracks/0/loop_wrap = false
tracks/0/keys = {
"times": PackedFloat32Array(0, 5, 10, 13, 16, 19, 22, 25, 28, 30),
"transitions": PackedFloat32Array(-2, -2, -2, -2, -2, -2, -2, -2, -2, -2),
"update": 0,
"values": [Transform3D(0.657957, -0.132517, 0.741304, 0, 0.984395, 0.175972, -0.753056, -0.115782, 0.64769, 1.1078, -1.63648, 4.79295), Transform3D(0.128517, -0.0793961, 0.988524, 0, 0.99679, 0.08006, -0.991708, -0.0102891, 0.128104, -5.56077, -2.53277, -4.5638), Transform3D(-0.812001, -0.10307, 0.574484, 0, 0.984284, 0.176593, -0.583657, 0.143394, -0.799239, -14.8004, -3.04738, -8.12841), Transform3D(-0.905989, -0.135012, -0.401193, 0, 0.947771, -0.31895, 0.423302, -0.288965, -0.858671, -18.9143, -3.97358, -4.05064), Transform3D(-0.676009, 0.189897, 0.712005, 0, 0.966225, -0.257699, -0.736893, -0.174207, -0.653177, -17.2269, -1.4151, 0.609126), Transform3D(-0.939334, -0.0176271, -0.342551, 0, 0.998679, -0.0513902, 0.343004, -0.0482726, -0.938093, -21.2933, -0.580386, 6.25682), Transform3D(0.647216, 0.0754344, -0.758565, 0, 0.995092, 0.0989554, 0.762306, -0.0640456, 0.644039, -10.4291, -0.535853, 10.9313), Transform3D(0.69778, 0.0409722, -0.715139, 0, 0.998363, 0.0571988, 0.716312, -0.0399122, 0.696638, 1.33324, -0.242724, 11.0056), Transform3D(0.696573, -0.189083, 0.692122, 0, 0.964649, 0.263536, -0.717485, -0.183572, 0.671949, 7.34303, -1.42402, 1.53095), Transform3D(-0.0666603, -0.0992949, 0.992823, 0, 0.995036, 0.0995162, -0.997776, 0.00663378, -0.0663294, 2.7164, -2.60889, -0.356995)]
}
[sub_resource type="AnimationLibrary" id="AnimationLibrary_5pc55"]
_data = {
"move_camera": SubResource("4")
}
[node name="WorldEnvironment" type="WorldEnvironment"]
environment = SubResource("1")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
offset_left = 16.0
offset_top = 16.0
offset_right = 61.0
offset_bottom = 72.0
[node name="FPSCounter" type="Label" parent="VBoxContainer"]
layout_mode = 2
offset_right = 45.0
offset_bottom = 26.0
text = "... FPS"
script = ExtResource("1")
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
offset_top = 30.0
offset_right = 45.0
offset_bottom = 56.0
text = "..."
script = ExtResource("8")
[node name="Camera" type="Camera3D" parent="."]
transform = Transform3D(0.657957, -0.132517, 0.741304, 1.30963e-08, 0.984395, 0.175972, -0.753056, -0.115782, 0.64769, 1.1078, -1.63648, 4.79295)
fov = 74.0
[node name="MeshInstance" type="MeshInstance3D" parent="."]
transform = Transform3D(0.05, 3.12266e-10, 1.53037e-09, 9.22975e-10, 0.05, 2.12998e-10, 1.74103e-09, 1.02059e-09, 0.05, 0, -50, 0)
material_override = SubResource("3")
mesh = ExtResource("2")
[node name="DirectionalLight" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.5, 0.75, 0.433013, 2.40975e-08, -0.5, 0.866025, 0.866025, -0.433013, -0.25, -2.38419e-07, -3.57628e-07, 0)
shadow_enabled = true
directional_shadow_blend_splits = true
directional_shadow_max_distance = 80.0
[node name="PurpleOmniLight" type="OmniLight3D" parent="."]
transform = Transform3D(1, -1.24556e-08, -5.80207e-08, 1.24556e-08, 1, -1.37235e-08, 5.80207e-08, 1.37235e-08, 1, -17.5963, -5.25068, -4.99616)
light_color = Color(0.615686, 0.478431, 1, 1)
light_energy = 6.0
light_specular = 0.0
shadow_enabled = true
shadow_bias = 0.03
shadow_reverse_cull_face = true
omni_attenuation = 2.0
[node name="BlueOmniLight" type="OmniLight3D" parent="."]
transform = Transform3D(1, -1.24556e-08, -5.80207e-08, 1.24556e-08, 1, -1.37235e-08, 5.80207e-08, 1.37235e-08, 1, -23.2259, -5.25068, -0.790806)
light_color = Color(0.52549, 0.690196, 1, 1)
light_energy = 6.0
light_specular = 0.0
shadow_enabled = true
shadow_bias = 0.03
shadow_reverse_cull_face = true
omni_attenuation = 2.0
[node name="GreenOmniLight" type="OmniLight3D" parent="."]
transform = Transform3D(1, -1.24556e-08, -5.80207e-08, 1.24556e-08, 1, -1.37235e-08, 5.80207e-08, 1.37235e-08, 1, 7.40961, -1.4683, 12.2034)
light_color = Color(0.478431, 1, 0.607843, 1)
light_energy = 6.0
light_specular = 0.0
shadow_enabled = true
shadow_bias = 0.03
shadow_reverse_cull_face = true
omni_attenuation = 2.0
[node name="YellowOmniLight" type="OmniLight3D" parent="."]
transform = Transform3D(1, -1.24556e-08, -5.80207e-08, 1.24556e-08, 1, -1.37235e-08, 5.80207e-08, 1.37235e-08, 1, -22.9985, -1.84781, 2.39367)
light_color = Color(1, 0.933333, 0.376471, 1)
light_energy = 5.0
light_specular = 0.0
shadow_enabled = true
shadow_bias = 0.03
shadow_reverse_cull_face = true
omni_attenuation = 2.0
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
autoplay = "move_camera"
playback_speed = 5.0
libraries = {
"": SubResource("AnimationLibrary_5pc55")
}
script = ExtResource("10")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
transform = Transform3D(0.816713, 0.460268, -0.348043, 0, 0.603147, 0.79763, 0.577044, -0.651435, 0.492598, 3.46423, -0.90966, 9.3329)
light_energy = 0.05