-
Notifications
You must be signed in to change notification settings - Fork 3
/
Grand_Canyon.tscn
132 lines (113 loc) · 3.3 KB
/
Grand_Canyon.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
[gd_scene load_steps=5 format=2]
[ext_resource path="res://scripts/UIController.gd" type="Script" id=1]
[ext_resource path="res://scripts/Terrain.gd" type="Script" id=2]
[ext_resource path="res://materials/desert_mountain.material" type="Material" id=3]
[ext_resource path="res://scripts/FreeformCamera.gd" type="Script" id=4]
[node name="World" type="Spatial"]
script = ExtResource( 1 )
_sections_unfolded = [ "Transform" ]
[node name="StaticBody" type="StaticBody" parent="."]
input_ray_pickable = true
input_capture_on_drag = false
collision_layer = 1
collision_mask = 1
friction = 1.0
bounce = 0.0
constant_linear_velocity = Vector3( 0, 0, 0 )
constant_angular_velocity = Vector3( 0, 0, 0 )
script = ExtResource( 2 )
_sections_unfolded = [ "Collision", "Transform" ]
terrain_resolution = 0.5
num_chunks = Vector2( 2, 2 )
chunk_size = Vector2( 64, 64 )
height_range = Vector2( 0, 150 )
terrain_roughness = 1.0
smooth_normals = true
smoothing_passes = 0
generate_collision_body = true
load_from_image = true
resize_chunks = false
image_path = "res://heightmaps/grand_canyon.png"
uv_scale = 1.0
material = ExtResource( 3 )
material2 = ExtResource( 3 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, -0.216396, 51.2618, 27.525 )
layers = 1
light_color = Color( 1, 1, 0.804688, 1 )
light_energy = 5.0
light_negative = false
light_specular = 0.5
light_cull_mask = -1
shadow_enabled = false
shadow_color = Color( 0, 0, 0, 1 )
shadow_bias = 1.0
shadow_contact = 0.0
shadow_max_distance = 400.0
editor_only = false
directional_shadow_mode = 2
directional_shadow_split_1 = 0.1
directional_shadow_split_2 = 0.2
directional_shadow_split_3 = 0.5
directional_shadow_blend_splits = false
directional_shadow_normal_bias = 0.2
_sections_unfolded = [ "Light", "Shadow", "Transform" ]
[node name="freeform" type="Camera" parent="."]
transform = Transform( -0.877279, 0.319303, -0.358368, -0.0381236, 0.697916, 0.715164, 0.478465, 0.641061, -0.600094, 0, 185, 0 )
projection = 0
fov = 65.0
near = 0.1
far = 500.0
keep_aspect = 1
current = true
cull_mask = 1048575
environment = null
h_offset = 0.0
v_offset = 0.0
doppler/tracking = 0
script = ExtResource( 4 )
_sections_unfolded = [ "Transform" ]
speed = 0.5
mouse_sensitivity = 0.01
[node name="hud" type="CanvasLayer" parent="."]
layer = 1
offset = Vector2( 0, 0 )
rotation = 0.0
scale = Vector2( 1, 1 )
[node name="dbg" type="VBoxContainer" parent="hud"]
margin_left = 10.0
margin_top = 10.0
margin_right = 220.0
margin_bottom = 134.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 1
size_flags_horizontal = 1
size_flags_vertical = 1
alignment = 0
_sections_unfolded = [ "Margin" ]
[node name="fps" type="Label" parent="hud/dbg"]
margin_right = 210.0
margin_bottom = 14.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
size_flags_horizontal = 1
size_flags_vertical = 4
text = "<fps>"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1
[node name="pos" type="Label" parent="hud/dbg"]
margin_top = 18.0
margin_right = 210.0
margin_bottom = 32.0
rect_pivot_offset = Vector2( 0, 0 )
rect_clip_content = false
mouse_filter = 2
size_flags_horizontal = 1
size_flags_vertical = 4
text = "<position>"
percent_visible = 1.0
lines_skipped = 0
max_lines_visible = -1