[gd_scene format=3 uid="uid://do7waylcei77v"]
[ext_resource type="Script" uid="uid://dsdcurmoh1222" path="res://scenes/test/dc_csg_test.gd" id="1"]
[ext_resource type="PackedScene" path="res://scenes/player/player_procedural.tscn" id="2"]
[sub_resource type="PhysicalSkyMaterial" id="PhysicalSkyMaterial_23wer"]
[sub_resource type="Sky" id="Sky_cbrx4"]
sky_material = SubResource("PhysicalSkyMaterial_23wer")
[sub_resource type="Environment" id="Environment_sv8tv"]
background_mode = 2
sky = SubResource("Sky_cbrx4")
ambient_light_source = 3
reflected_light_source = 2
ssr_enabled = true
ssao_enabled = true
sdfgi_enabled = true
glow_enabled = true
[sub_resource type="CameraAttributesPractical" id="CameraAttributesPractical_v8qlc"]
[sub_resource type="Compositor" id="Compositor_xjd8t"]
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_23wer"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 0.6, 1, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_cbrx4"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_sv8tv"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 0.6, 1, 0.08)
[sub_resource type="SphereMesh" id="SphereMesh_v8qlc"]
radius = 10.0
height = 20.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_xjd8t"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 1, 0.3, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_ysxlh"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_stw3p"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 1, 0.3, 0.08)
[sub_resource type="SphereMesh" id="SphereMesh_ig5wn"]
radius = 10.0
height = 20.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_rfv3c"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 0.3, 0.2, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_8o82r"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_hpeu4"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 0.3, 0.2, 0.05)
[sub_resource type="SphereMesh" id="SphereMesh_52xwg"]
radius = 10.0
height = 20.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_cbrx4"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 0.6, 1, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_sv8tv"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_v8qlc"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 0.6, 1, 0.08)
[sub_resource type="SphereMesh" id="SphereMesh_xjd8t"]
radius = 10.0
height = 20.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ysxlh"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 1, 0.3, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_stw3p"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_ig5wn"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(0.2, 1, 0.3, 0.08)
[sub_resource type="SphereMesh" id="SphereMesh_rfv3c"]
radius = 10.0
height = 20.0
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_8o82r"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 0.3, 0.2, 0.08)
[sub_resource type="BoxMesh" id="BoxMesh_hpeu4"]
size = Vector3(10, 10, 10)
[sub_resource type="StandardMaterial3D" id="StandardMaterial3D_52xwg"]
transparency = 1
no_depth_test = true
shading_mode = 0
albedo_color = Color(1, 0.3, 0.2, 0.05)
[sub_resource type="SphereMesh" id="SphereMesh_dabff"]
radius = 10.0
height = 20.0
[node name="DCCSGTest" type="Node3D" unique_id=650348991]
script = ExtResource("1")
[node name="DCTerrain" type="DCTerrain" parent="." unique_id=876297111]
use_noise = false
csg_refinement = 4
primary_frequency = 0.001
primary_strength = 0.0
tunnel_frequency = 0.001
tunnel_strength = 0.0
tunnel_radius = 0.0
ridge_frequency = 0.001
ridge_strength = 0.0
warp_frequency = 0.001
warp_strength = 0.0
detail_frequency = 0.001
detail_strength = 0.0
ground_bias = 0.3
terrain_color = Color(0.5, 0.5, 0.5, 1)
voxel_size = 0.5
octree_depth = 6
[node name="Player" parent="." unique_id=5295682 instance=ExtResource("2")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 27.904871, 0)
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=1846891506]
environment = SubResource("Environment_sv8tv")
camera_attributes = SubResource("CameraAttributesPractical_v8qlc")
compositor = SubResource("Compositor_xjd8t")
[node name="DirectionalLight3D" type="DirectionalLight3D" parent="WorldEnvironment" unique_id=1291733067]
transform = Transform3D(0.86601907, -0.25000688, 0.43302146, 0, 0.8660238, 0.50000274, -0.500011, -0.4330119, 0.7499931, 0, 30, 0)
shadow_enabled = true
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1512280429]
[node name="StatsLabel" type="Label" parent="CanvasLayer" unique_id=973014293]
offset_right = 500.0
offset_bottom = 200.0
text = "Loading CSG test..."
[node name="@MeshInstance3D@19176" type="MeshInstance3D" parent="." unique_id=2040804866]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40, 0, 0)
material_override = SubResource("StandardMaterial3D_23wer")
mesh = SubResource("BoxMesh_cbrx4")
[node name="@MeshInstance3D@19177" type="MeshInstance3D" parent="." unique_id=1628306995]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40, 0, 5)
material_override = SubResource("StandardMaterial3D_sv8tv")
mesh = SubResource("SphereMesh_v8qlc")
[node name="@MeshInstance3D@19178" type="MeshInstance3D" parent="." unique_id=1223389162]
material_override = SubResource("StandardMaterial3D_xjd8t")
mesh = SubResource("BoxMesh_ysxlh")
[node name="@MeshInstance3D@19179" type="MeshInstance3D" parent="." unique_id=2000216709]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
material_override = SubResource("StandardMaterial3D_stw3p")
mesh = SubResource("SphereMesh_ig5wn")
[node name="@MeshInstance3D@19180" type="MeshInstance3D" parent="." unique_id=1229459610]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 0, 0)
material_override = SubResource("StandardMaterial3D_rfv3c")
mesh = SubResource("BoxMesh_8o82r")
[node name="@MeshInstance3D@19181" type="MeshInstance3D" parent="." unique_id=1192501863]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 0, 5)
material_override = SubResource("StandardMaterial3D_hpeu4")
mesh = SubResource("SphereMesh_52xwg")
[node name="CSGBox_g0" type="MeshInstance3D" parent="." unique_id=2134358578]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40, 0, 0)
material_override = SubResource("StandardMaterial3D_cbrx4")
mesh = SubResource("BoxMesh_sv8tv")
[node name="CSGSphere_g0" type="MeshInstance3D" parent="." unique_id=66572532]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -40, 0, 5)
material_override = SubResource("StandardMaterial3D_v8qlc")
mesh = SubResource("SphereMesh_xjd8t")
[node name="CSGBox_g1" type="MeshInstance3D" parent="." unique_id=796180390]
material_override = SubResource("StandardMaterial3D_ysxlh")
mesh = SubResource("BoxMesh_stw3p")
[node name="CSGSphere_g1" type="MeshInstance3D" parent="." unique_id=937180550]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 5)
material_override = SubResource("StandardMaterial3D_ig5wn")
mesh = SubResource("SphereMesh_rfv3c")
[node name="CSGBox_g2" type="MeshInstance3D" parent="." unique_id=840425626]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 0, 0)
material_override = SubResource("StandardMaterial3D_8o82r")
mesh = SubResource("BoxMesh_hpeu4")
[node name="CSGSphere_g2" type="MeshInstance3D" parent="." unique_id=514294591]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 40, 0, 5)
material_override = SubResource("StandardMaterial3D_52xwg")
mesh = SubResource("SphereMesh_dabff")