|
| 1 | +[gd_scene load_steps=17 format=3 uid="uid://bshkqyd3jv7xc"] |
| 2 | + |
| 3 | +[ext_resource type="Script" uid="uid://bic02fqt5yf40" path="res://camera.gd" id="1_yepcp"] |
| 4 | +[ext_resource type="Script" uid="uid://b7erm757yjt5k" path="res://tree_clusters.gd" id="2_ydews"] |
| 5 | +[ext_resource type="Script" uid="uid://bd856mfo4l8g8" path="res://fps_label.gd" id="3_vep8a"] |
| 6 | + |
| 7 | +[sub_resource type="Gradient" id="Gradient_hp0a8"] |
| 8 | +interpolation_mode = 2 |
| 9 | +colors = PackedColorArray(1, 1, 1, 1, 0, 0, 0, 1) |
| 10 | + |
| 11 | +[sub_resource type="GradientTexture2D" id="GradientTexture2D_6fgiw"] |
| 12 | +gradient = SubResource("Gradient_hp0a8") |
| 13 | +width = 128 |
| 14 | +fill = 1 |
| 15 | +fill_from = Vector2(0.5, 0.38) |
| 16 | +fill_to = Vector2(0.1, 0.4) |
| 17 | + |
| 18 | +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_ymxen"] |
| 19 | +sky_top_color = Color(0.385, 0.4125, 0.55, 1) |
| 20 | +sky_horizon_color = Color(0.6432, 0.647667, 0.67, 1) |
| 21 | +sky_cover = SubResource("GradientTexture2D_6fgiw") |
| 22 | +sky_cover_modulate = Color(1, 0.776471, 0.129412, 1) |
| 23 | +ground_horizon_color = Color(0.643137, 0.647059, 0.670588, 1) |
| 24 | +sun_angle_max = 40.0 |
| 25 | +sun_curve = 0.235375 |
| 26 | + |
| 27 | +[sub_resource type="Sky" id="Sky_tq5wf"] |
| 28 | +sky_material = SubResource("ProceduralSkyMaterial_ymxen") |
| 29 | + |
| 30 | +[sub_resource type="Environment" id="Environment_w7n8k"] |
| 31 | +background_mode = 2 |
| 32 | +sky = SubResource("Sky_tq5wf") |
| 33 | +ambient_light_color = Color(1, 1, 1, 1) |
| 34 | +ambient_light_sky_contribution = 0.75 |
| 35 | +tonemap_mode = 3 |
| 36 | +tonemap_white = 6.0 |
| 37 | +fog_enabled = true |
| 38 | +fog_light_color = Color(0.517647, 0.552941, 0.607843, 1) |
| 39 | +fog_density = 0.001 |
| 40 | +fog_aerial_perspective = 1.0 |
| 41 | + |
| 42 | +[sub_resource type="BoxMesh" id="BoxMesh_qxf28"] |
| 43 | +lightmap_size_hint = Vector2i(327684, 163856) |
| 44 | +add_uv2 = true |
| 45 | +size = Vector3(32768, 1, 32768) |
| 46 | +subdivide_width = 15 |
| 47 | +subdivide_depth = 15 |
| 48 | + |
| 49 | +[sub_resource type="Gradient" id="Gradient_urgs4"] |
| 50 | +offsets = PackedFloat32Array(0, 0.243902, 0.357724, 0.617886, 1) |
| 51 | +colors = PackedColorArray(0.164706, 0.101961, 0, 1, 0.123774, 0.283202, 0.173896, 1, 0.354642, 0.374758, 0.206693, 1, 0.490333, 0.5, 0.48, 1, 0.1961, 0.37, 0.271457, 1) |
| 52 | + |
| 53 | +[sub_resource type="FastNoiseLite" id="FastNoiseLite_g0yjr"] |
| 54 | +fractal_octaves = 9 |
| 55 | +fractal_lacunarity = 2.717 |
| 56 | +fractal_gain = 0.6 |
| 57 | + |
| 58 | +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_0q3y6"] |
| 59 | +width = 1024 |
| 60 | +height = 1024 |
| 61 | +noise = SubResource("FastNoiseLite_g0yjr") |
| 62 | +color_ramp = SubResource("Gradient_urgs4") |
| 63 | +seamless = true |
| 64 | + |
| 65 | +[sub_resource type="Gradient" id="Gradient_63ydg"] |
| 66 | +colors = PackedColorArray(0, 0.0431373, 0, 1, 0, 0, 0, 0) |
| 67 | + |
| 68 | +[sub_resource type="FastNoiseLite" id="FastNoiseLite_dddeo"] |
| 69 | +noise_type = 0 |
| 70 | +fractal_type = 3 |
| 71 | +domain_warp_enabled = true |
| 72 | + |
| 73 | +[sub_resource type="NoiseTexture2D" id="NoiseTexture2D_j3exn"] |
| 74 | +noise = SubResource("FastNoiseLite_dddeo") |
| 75 | +color_ramp = SubResource("Gradient_63ydg") |
| 76 | +seamless = true |
| 77 | + |
| 78 | +[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_lf55d"] |
| 79 | +albedo_texture = SubResource("NoiseTexture2D_0q3y6") |
| 80 | +detail_enabled = true |
| 81 | +detail_uv_layer = 1 |
| 82 | +detail_albedo = SubResource("NoiseTexture2D_j3exn") |
| 83 | +uv1_scale = Vector3(2048, 1536, 1) |
| 84 | +uv2_scale = Vector3(64, 32, 1) |
| 85 | +texture_filter = 5 |
| 86 | + |
| 87 | +[node name="Node3D" type="Node3D"] |
| 88 | + |
| 89 | +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."] |
| 90 | +transform = Transform3D(-0.292632, 0.955563, -0.0355886, -0.845857, -0.241319, 0.4757, 0.445973, 0.169308, 0.878887, 0, 11, 0) |
| 91 | +shadow_enabled = true |
| 92 | +shadow_bias = 0.05 |
| 93 | +shadow_blur = 1.5 |
| 94 | +directional_shadow_max_distance = 200.0 |
| 95 | + |
| 96 | +[node name="WorldEnvironment" type="WorldEnvironment" parent="."] |
| 97 | +environment = SubResource("Environment_w7n8k") |
| 98 | + |
| 99 | +[node name="Ground" type="MeshInstance3D" parent="."] |
| 100 | +mesh = SubResource("BoxMesh_qxf28") |
| 101 | +surface_material_override/0 = SubResource("StandardMaterial3D_lf55d") |
| 102 | + |
| 103 | +[node name="Camera3D" type="Camera3D" parent="."] |
| 104 | +transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 200) |
| 105 | +fov = 74.0 |
| 106 | +script = ExtResource("1_yepcp") |
| 107 | + |
| 108 | +[node name="TreeClusters" type="Node3D" parent="."] |
| 109 | +script = ExtResource("2_ydews") |
| 110 | + |
| 111 | +[node name="Loading" type="Control" parent="TreeClusters"] |
| 112 | +layout_mode = 3 |
| 113 | +anchors_preset = 15 |
| 114 | +anchor_right = 1.0 |
| 115 | +anchor_bottom = 1.0 |
| 116 | +grow_horizontal = 2 |
| 117 | +grow_vertical = 2 |
| 118 | + |
| 119 | +[node name="ColorRect" type="ColorRect" parent="TreeClusters/Loading"] |
| 120 | +layout_mode = 1 |
| 121 | +anchors_preset = 15 |
| 122 | +anchor_right = 1.0 |
| 123 | +anchor_bottom = 1.0 |
| 124 | +grow_horizontal = 2 |
| 125 | +grow_vertical = 2 |
| 126 | +color = Color(0, 0, 0, 0.501961) |
| 127 | + |
| 128 | +[node name="Label" type="Label" parent="TreeClusters/Loading"] |
| 129 | +layout_mode = 1 |
| 130 | +anchors_preset = 8 |
| 131 | +anchor_left = 0.5 |
| 132 | +anchor_top = 0.5 |
| 133 | +anchor_right = 0.5 |
| 134 | +anchor_bottom = 0.5 |
| 135 | +offset_left = -170.5 |
| 136 | +offset_top = -24.0 |
| 137 | +offset_right = 170.5 |
| 138 | +offset_bottom = 24.0 |
| 139 | +grow_horizontal = 2 |
| 140 | +grow_vertical = 2 |
| 141 | +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) |
| 142 | +theme_override_constants/outline_size = 8 |
| 143 | +theme_override_font_sizes/font_size = 32 |
| 144 | +text = "Loading, please wait…" |
| 145 | + |
| 146 | +[node name="VisibilityRanges" type="Label" parent="TreeClusters"] |
| 147 | +offset_left = 16.0 |
| 148 | +offset_top = 16.0 |
| 149 | +offset_right = 208.0 |
| 150 | +offset_bottom = 42.0 |
| 151 | +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) |
| 152 | +theme_override_constants/outline_size = 4 |
| 153 | +text = "Visibility ranges: Enabled" |
| 154 | + |
| 155 | +[node name="FadeMode" type="Label" parent="TreeClusters"] |
| 156 | +offset_left = 16.0 |
| 157 | +offset_top = 48.0 |
| 158 | +offset_right = 208.0 |
| 159 | +offset_bottom = 74.0 |
| 160 | +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) |
| 161 | +theme_override_constants/outline_size = 4 |
| 162 | +text = "Fade mode: Enabled (Transparency)" |
| 163 | + |
| 164 | +[node name="FPSLabel" type="Label" parent="."] |
| 165 | +anchors_preset = 1 |
| 166 | +anchor_left = 1.0 |
| 167 | +anchor_right = 1.0 |
| 168 | +offset_left = -214.0 |
| 169 | +offset_top = 16.0 |
| 170 | +offset_right = -16.0 |
| 171 | +offset_bottom = 39.0 |
| 172 | +grow_horizontal = 0 |
| 173 | +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) |
| 174 | +theme_override_constants/outline_size = 4 |
| 175 | +horizontal_alignment = 2 |
| 176 | +script = ExtResource("3_vep8a") |
| 177 | + |
| 178 | +[node name="Help" type="Label" parent="."] |
| 179 | +anchors_preset = 2 |
| 180 | +anchor_top = 1.0 |
| 181 | +anchor_bottom = 1.0 |
| 182 | +offset_left = 16.0 |
| 183 | +offset_top = -39.0 |
| 184 | +offset_right = 56.0 |
| 185 | +offset_bottom = -16.0 |
| 186 | +grow_vertical = 0 |
| 187 | +theme_override_colors/font_outline_color = Color(0, 0, 0, 1) |
| 188 | +theme_override_constants/outline_size = 4 |
| 189 | +text = "L: Toggle visibility ranges |
| 190 | +F: Toggle fade mode" |
0 commit comments