48 lines
1.5 KiB
Plaintext
48 lines
1.5 KiB
Plaintext
[gd_scene load_steps=10 format=2]
|
|
|
|
[ext_resource path="res://terrain/terrain_draw.png" type="Image" id=1]
|
|
[ext_resource path="res://terrain/terrain.png" type="Image" id=2]
|
|
[ext_resource path="res://terrain/terrain_edit.png" type="Image" id=3]
|
|
[ext_resource path="res://main/main.gd" type="Script" id=4]
|
|
|
|
[sub_resource type="VoxelGeneratorImgMapper" id=1]
|
|
height_start = -150.0
|
|
height_range = 300.0
|
|
image_bg = ExtResource( 2 )
|
|
image_overlay = ExtResource( 3 )
|
|
image_draw = ExtResource( 1 )
|
|
|
|
[sub_resource type="VoxelMesherTransvoxel" id=2]
|
|
|
|
[sub_resource type="ORMSpatialMaterial" id=3]
|
|
albedo_color = Color( 0.254902, 0.886275, 0.101961, 1 )
|
|
|
|
[sub_resource type="ProceduralSky" id=4]
|
|
|
|
[sub_resource type="Environment" id=5]
|
|
background_mode = 2
|
|
background_sky = SubResource( 4 )
|
|
|
|
[node name="main" type="Spatial"]
|
|
script = ExtResource( 4 )
|
|
|
|
[node name="StreamWorld" type="StreamWorld" parent="."]
|
|
|
|
[node name="VoxelLodTerrain" type="VoxelLodTerrain" parent="."]
|
|
generator = SubResource( 1 )
|
|
mesher = SubResource( 2 )
|
|
voxel_bounds = AABB( -5.36871e+08, -2048, -5.36871e+08, 1.07374e+09, 4096, 1.07374e+09 )
|
|
lod_count = 5
|
|
material = SubResource( 3 )
|
|
|
|
[node name="Camera" type="Camera" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1, 0 )
|
|
environment = SubResource( 5 )
|
|
|
|
[node name="VoxelViewer" type="VoxelViewer" parent="Camera"]
|
|
|
|
[node name="DirectionalLight" type="DirectionalLight" parent="."]
|
|
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 2, 0 )
|
|
|
|
[node name="RoadDebug" type="RoadDebug" parent="."]
|