-
Notifications
You must be signed in to change notification settings - Fork 1
/
main.tscn
77 lines (62 loc) · 2.4 KB
/
main.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
[gd_scene load_steps=11 format=3 uid="uid://dx4r13gqfh13"]
[ext_resource type="Script" path="res://main.gd" id="1_skarq"]
[ext_resource type="Shader" path="res://resources/shaders/spatial/main.gdshader" id="3_jj7ax"]
[ext_resource type="Script" path="res://util/camera.gd" id="3_rvimx"]
[ext_resource type="Script" path="res://util/cursor.gd" id="4_gf8y8"]
[ext_resource type="Script" path="res://util/loading_bar.gd" id="5_35jmb"]
[sub_resource type="CapsuleMesh" id="CapsuleMesh_n8l1u"]
radius = 0.025
height = 0.05
radial_segments = 16
rings = 4
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_s7rbn"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 1, 1, 0)
grow_amount = 0.1
[sub_resource type="QuadMesh" id="QuadMesh_ugp31"]
flip_faces = true
size = Vector2(2, 2)
[sub_resource type="Texture2DRD" id="Texture2DRD_wex41"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_may5e"]
render_priority = 0
shader = ExtResource("3_jj7ax")
shader_parameter/render_texture = SubResource("Texture2DRD_wex41")
[node name="Main" type="Node"]
script = ExtResource("1_skarq")
[node name="Camera" type="Camera3D" parent="."]
current = true
script = ExtResource("3_rvimx")
[node name="Cursor" type="MeshInstance3D" parent="Camera"]
top_level = true
cast_shadow = 0
mesh = SubResource("CapsuleMesh_n8l1u")
skeleton = NodePath("../..")
surface_material_override/0 = SubResource("StandardMaterial3D_s7rbn")
script = ExtResource("4_gf8y8")
[node name="OrbitSwapTimer" type="Timer" parent="Camera"]
editor_description = "Determines when, after holding the orbit modifier, should the camera switch to orbit rotation mode."
wait_time = 0.135
one_shot = true
[node name="Target" type="Node3D" parent="Camera"]
top_level = true
[node name="RenderedImage" type="MeshInstance3D" parent="."]
cast_shadow = 0
extra_cull_margin = 16384.0
gi_mode = 0
mesh = SubResource("QuadMesh_ugp31")
surface_material_override/0 = SubResource("ShaderMaterial_may5e")
metadata/_edit_lock_ = true
[node name="PauseTimer" type="Timer" parent="."]
editor_description = "Determines when, after no camera movement, should rendering pause to save on resources."
wait_time = 2.0
one_shot = true
[node name="UpdateDebugTimer" type="Timer" parent="."]
wait_time = 0.1
autostart = true
[node name="LoadingBar" type="ColorRect" parent="."]
offset_right = 2560.0
offset_bottom = 5.0
color = Color(1, 1, 1, 0)
script = ExtResource("5_35jmb")