-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.tscn
220 lines (183 loc) · 7.07 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
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
[gd_scene load_steps=23 format=2]
[ext_resource path="res://player.gd" type="Script" id=1]
[ext_resource path="res://ambientcg/PavingStones123_1K_Roughness.jpg" type="Texture" id=2]
[ext_resource path="res://ambientcg/PavingStones123_1K_AmbientOcclusion.jpg" type="Texture" id=3]
[ext_resource path="res://ambientcg/PavingStones123_1K_Displacement.jpg" type="Texture" id=4]
[ext_resource path="res://ambientcg/PavingStones123_1K_NormalGL.jpg" type="Texture" id=5]
[ext_resource path="res://ambientcg/PavingStones123_1K_Color.jpg" type="Texture" id=6]
[ext_resource path="res://ambientcg/Ground054_1K_NormalGL.jpg" type="Texture" id=7]
[ext_resource path="res://ambientcg/Ground054_1K_Color.jpg" type="Texture" id=8]
[ext_resource path="res://ambientcg/Ground054_1K_Roughness.jpg" type="Texture" id=9]
[ext_resource path="res://ambientcg/Ground054_1K_AmbientOcclusion.jpg" type="Texture" id=10]
[ext_resource path="res://ambientcg/Ground054_1K_Displacement.jpg" type="Texture" id=11]
[sub_resource type="CubeMesh" id=1]
size = Vector3( 2048, 2, 2048 )
subdivide_width = 4
subdivide_depth = 4
[sub_resource type="SpatialMaterial" id=12]
albedo_texture = ExtResource( 8 )
roughness_texture = ExtResource( 9 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 7 )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 10 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = true
depth_scale = 0.05
depth_deep_parallax = false
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 11 )
uv1_scale = Vector3( 2048, 1024, 1 )
[sub_resource type="CubeMesh" id=2]
[sub_resource type="SpatialMaterial" id=11]
albedo_texture = ExtResource( 6 )
roughness_texture = ExtResource( 2 )
normal_enabled = true
normal_scale = 1.0
normal_texture = ExtResource( 5 )
ao_enabled = true
ao_light_affect = 0.0
ao_texture = ExtResource( 3 )
ao_on_uv2 = false
ao_texture_channel = 0
depth_enabled = true
depth_scale = 0.05
depth_deep_parallax = true
depth_min_layers = 8
depth_max_layers = 32
depth_flip_tangent = false
depth_flip_binormal = false
depth_texture = ExtResource( 4 )
uv1_scale = Vector3( 3, 2, 1 )
[sub_resource type="SphereMesh" id=3]
[sub_resource type="TorusMesh" id=4]
[sub_resource type="ProceduralSky" id=6]
sky_energy = 0.5
ground_horizon_color = Color( 0.670588, 0.729412, 0.780392, 1 )
[sub_resource type="Environment" id=5]
background_mode = 2
background_sky = SubResource( 6 )
fog_enabled = true
fog_color = Color( 0.670588, 0.729412, 0.780392, 1 )
tonemap_mode = 4
tonemap_white = 6.0
[sub_resource type="ViewportTexture" id=10]
viewport_path = NodePath("Player/Viewport")
[sub_resource type="SpatialMaterial" id=8]
resource_local_to_scene = true
flags_unshaded = true
flags_albedo_tex_force_srgb = true
albedo_texture = SubResource( 10 )
uv1_scale = Vector3( 256, 256, 1 )
uv1_offset = Vector3( -127.5, -127.5, 0 )
[sub_resource type="QuadMesh" id=9]
resource_local_to_scene = true
material = SubResource( 8 )
size = Vector2( 455.168, 256 )
[node name="Spatial" type="Spatial"]
[node name="Ground" type="MeshInstance" parent="."]
use_in_baked_light = true
mesh = SubResource( 1 )
material/0 = SubResource( 12 )
[node name="MeshInstance" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 2, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance4" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 2, 1, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance5" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 4, 0.8, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance6" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 6, 0.6, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance7" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 8, 0.4, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance8" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 10, 0.2, 0 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance9" type="MeshInstance" parent="."]
transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, 9, 0.1, 2 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance10" type="MeshInstance" parent="."]
transform = Transform( 0.707107, 0, -0.707107, 0, 1, 0, 0.707107, 0, 0.707107, 9, 0.1, -2 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance11" type="MeshInstance" parent="."]
transform = Transform( 0.707107, 0, -0.707107, -0.612372, 0.5, -0.612372, 0.353553, 0.866025, 0.353553, 0, 4.7, 0.1 )
use_in_baked_light = true
mesh = SubResource( 2 )
material/0 = SubResource( 11 )
[node name="MeshInstance2" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 2, -4 )
use_in_baked_light = true
mesh = SubResource( 3 )
material/0 = SubResource( 11 )
[node name="MeshInstance3" type="MeshInstance" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -3, 1.2, 7 )
use_in_baked_light = true
mesh = SubResource( 4 )
material/0 = SubResource( 11 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 0.877583, -0.229849, 0.420735, 0, 0.877583, 0.479426, -0.479426, -0.420736, 0.770151, 10.6688, 12.1571, 19.5292 )
shadow_enabled = true
shadow_bias = -0.001
shadow_reverse_cull_face = true
directional_shadow_normal_bias = 0.0
directional_shadow_bias_split_scale = 0.0
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource( 5 )
[node name="Player" type="Spatial" parent="."]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 4 )
script = ExtResource( 1 )
[node name="Viewport" type="Viewport" parent="Player"]
unique_name_in_owner = true
size = Vector2( 1024, 600 )
msaa = 3
render_target_v_flip = true
render_target_update_mode = 1
shadow_atlas_size = 4096
[node name="Yaw" type="Spatial" parent="Player/Viewport"]
unique_name_in_owner = true
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -1, 2, 4 )
[node name="Camera" type="Camera" parent="Player/Viewport/Yaw"]
unique_name_in_owner = true
cull_mask = 1048573
fov = 73.7
far = 500.0
[node name="RedrawTimer" type="Timer" parent="Player/Viewport/Yaw"]
wait_time = 0.1
autostart = true
[node name="ViewCamera" type="Camera" parent="."]
cull_mask = 1048574
fov = 73.7
[node name="Yaw" type="Spatial" parent="."]
[node name="Pitch" type="Spatial" parent="Yaw"]
[node name="Quad" type="MeshInstance" parent="Yaw/Pitch"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, -0.666 )
visible = false
layers = 2
cast_shadow = 0
mesh = SubResource( 9 )
skeleton = NodePath("../../../Player")
[connection signal="timeout" from="Player/Viewport/Yaw/RedrawTimer" to="Player" method="_on_RedrawTimer_timeout"]