52 lines
2.3 KiB
Plaintext
52 lines
2.3 KiB
Plaintext
[gd_scene load_steps=12 format=3 uid="uid://bp6ewa3urgac8"]
|
|
|
|
[ext_resource type="VoxelBlockyLibrary" uid="uid://bsue4rd3wdfsl" path="res://nodes/world/BlockLibrary.tres" id="1_4rm5p"]
|
|
[ext_resource type="Material" uid="uid://de6s8en5fcyyw" path="res://nodes/world/BlockMaterial.tres" id="2_yirul"]
|
|
[ext_resource type="PackedScene" uid="uid://ddyulj4dsrkms" path="res://nodes/world/terrain_editor.tscn" id="3_heupn"]
|
|
[ext_resource type="Script" uid="uid://cp4pflpo7neyq" path="res://nodes/world/Terrain.gd" id="3_yirul"]
|
|
[ext_resource type="PackedScene" uid="uid://cy0nvmw51bwof" path="res://nodes/camera/controllable_camera.tscn" id="4_ublpu"]
|
|
|
|
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_gadlc"]
|
|
sky_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
|
ground_horizon_color = Color(0.662243, 0.671743, 0.686743, 1)
|
|
|
|
[sub_resource type="Sky" id="Sky_t8uwy"]
|
|
sky_material = SubResource("ProceduralSkyMaterial_gadlc")
|
|
|
|
[sub_resource type="Environment" id="Environment_5g68j"]
|
|
background_mode = 2
|
|
sky = SubResource("Sky_t8uwy")
|
|
|
|
[sub_resource type="FastNoiseLite" id="FastNoiseLite_v3kfg"]
|
|
|
|
[sub_resource type="VoxelGeneratorNoise2D" id="VoxelGeneratorNoise2D_mko3u"]
|
|
channel = 0
|
|
height_start = 0.0
|
|
height_range = 20.0
|
|
noise = SubResource("FastNoiseLite_v3kfg")
|
|
|
|
[sub_resource type="VoxelMesherBlocky" id="VoxelMesherBlocky_3tbtj"]
|
|
library = ExtResource("1_4rm5p")
|
|
|
|
[node name="VoxelWorld" type="Node"]
|
|
|
|
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
|
|
environment = SubResource("Environment_5g68j")
|
|
|
|
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="."]
|
|
transform = Transform3D(-0.866024, -0.433016, 0.250001, 0, 0.499998, 0.866026, -0.500003, 0.749999, -0.43301, 0, 0, 0)
|
|
shadow_enabled = true
|
|
|
|
[node name="VoxelTerrain" type="VoxelTerrain" parent="."]
|
|
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 4, 0)
|
|
generator = SubResource("VoxelGeneratorNoise2D_mko3u")
|
|
mesher = SubResource("VoxelMesherBlocky_3tbtj")
|
|
bounds = AABB(-1040, -32, -1040, 2080, 96, 2080)
|
|
material_override = ExtResource("2_yirul")
|
|
script = ExtResource("3_yirul")
|
|
|
|
[node name="TerrainEditor" parent="VoxelTerrain" instance=ExtResource("3_heupn")]
|
|
|
|
[node name="ControllableCamera" parent="." instance=ExtResource("4_ublpu")]
|
|
transform = Transform3D(-0.61081, -0.620921, 0.491291, 0, 0.620492, 0.784213, -0.791777, 0.479005, -0.379003, 34.4662, 28.9798, -20.4)
|