mirror of
https://github.com/Relintai/pandemonium_demo_projects.git
synced 2024-12-21 13:56:50 +01:00
172 lines
6.3 MiB
Plaintext
172 lines
6.3 MiB
Plaintext
|
[gd_scene load_steps=13 format=2]
|
||
|
|
||
|
[ext_resource path="res://zdm2.glb" type="PackedScene" id=1]
|
||
|
[ext_resource path="res://test.lmbake" type="BakedLightmapData" id=2]
|
||
|
[ext_resource path="res://cube.glb" type="PackedScene" id=3]
|
||
|
[ext_resource path="res://test_all.lmbake" type="BakedLightmapData" id=4]
|
||
|
[ext_resource path="res://test.gd" type="Script" id=5]
|
||
|
[ext_resource path="res://camera.gd" type="Script" id=6]
|
||
|
|
||
|
[sub_resource type="GIProbeData" id=1]
|
||
|
bounds = AABB( -39, -18.5, -30, 78, 37, 60 )
|
||
|
cell_size = 0.609375
|
||
|
to_cell_xform = Transform( 1.64103, 0, 0, 0, 1.64103, 0, 0, 0, 1.64103, 64, 30.359, 49.2308 )
|
||
|
dynamic_data = PoolIntArray( 0, 8, 128, 64, 128, 104116, 79113, -1, 0, 0, 0, 0, 0, 0, 0, 0, 51, 1, -1, -1, 340, 132, -1, -1, 0, 0, 8355711, 2472, 2, 3546, 27, 25210, 12, 6081, 678, 6099, 0, 0, 8355711, 71491, 123, 64991, 5812, 63983, 3, 3508, 1549, 22, 0, 0, 8355711, 140797, 97896, 89614, 2179, 3408, 98029, 98114, 4, 3448, 0, 0, 8355711, 205855, 3358, -1, 3565, 3572, 5, -1, 4494, 3445, 0, 0, 8355711, 277503, 4489, -1, 3364, 3353, 3070, 6, 4481, 9, 0, 0, 8355711, 357375, -1, -1, -1, -1, -1, -1, 7, 8, 0, 0, 8355711, 409599, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 5693238, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8388479, 524287, 4511, 44161, 4512, 4509, 10, 11, 4513, 4514, 0, 0, 8355711, 458751, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 4497427, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8368650, 524287, 13, 6030, 91, 5980, 4685, 35286, 3096, 8383, 0, 0, 8355711, 139995, 98222, 98307, 14, 3461, 98392, 98477, 3371, 44725, 0, 0, 8355711, 206383, 3072, -1, 4678, 4645, 15, -1, 4557, 4648, 0, 0, 8355711, 277759, 3079, 16, 4546, 18, 4548, -1, 4552, 3369, 0, 0, 8355711, 357375, -1, -1, 3093, -1, -1, -1, 17, 21, 0, 0, 8355711, 417791, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 5377625, 524287, 21276, -1, 21277, -1, 19, 20, 4566, 4556, 0, 0, 8355711, 442367, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 3164969, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8350721, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8323199, 524287, 5852, 5866, 23, 5923, 23375, 23478, 21557, 23509, 0, 0, 8355711, 213647, 5832, 5920, 5838, -1, 24, 29366, 23426, -1, 0, 0, 8355711, 285951, -1, 29361, 21588, 21592, -1, 29363, 21578, 25, 0, 0, 8355711, 364543, 21597, -1, 26, -1, 21581, -1, 21625, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 4480531, 524287, 28, 30209, -1, -1, 2285, 7819, -1, -1, 0, 0, 8355711, 134565, 29, 57786, -1, -1, 41, 57548, -1, -1, 0, 0, 8355711, 202383, 8303, 57736, -1, -1, 30, 57767, -1, -1, 0, 0, 8355711, 275455, 31, -1, 48, 57757, 34, -1, 39, 57762, 0, 0, 8355711, 360447, -1, -1, -1, -1, 82, 32, 122, 33, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 3714592, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 899199, 524287, 83, 35, -1, 36, 84, 37, -1, 38, 0, 0, 8355711, 442367, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 2457381, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 32639, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 2457381, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 32639, 524287, 59, 50, 8318, 8319, 60, 40, 8320, 8321, 0, 0, 8355711, 458751, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 884664, 524287, 42, 57525, -1, -1, 6883, 57544, -1, -1, 0, 0, 8355711, 273535, 43, -1, 46, 57519, -1, -1, 6892, 57522, 0, 0, 8355711, 354303, 72, 44, 73, 45, -1, -1, -1, -1, 0, 0, 8355711, 425983, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 4921163, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 3087231, 524287, 68, 47, 8322, 8323, -1, -1, 8324, 6891, 0, 0, 8355711, 442367, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 1526707, 524287, -1, -1, 8314, 8315, 58, 49, 8316, 8317, 0, 0, 8355711, 442367, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 1553331, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 884664, 524287, 250, 286, 18578, 52, 364, 85, 385, 279, 0, 0, 8355711, 72868, 39739, 53, -1, -1, 12799, 2314, -1, -1, 0, 0, 8355711, 134297, 39994, 54, -1, -1, 40099, 64, -1, -1, 0, 0, 8355711, 201663, 33932, 8299, -1, -1, 33955, 55, -1, -1, 0, 0, 8355711, 274559, -1, 74, 33958, 56, -1, 77, 33965, 61, 0, 0, 8355711, 353279, -1, -1, 33963, 8332, -1, 57, 33964, 8333, 0, 0, 8355711, 434175, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 14858424, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8378841, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8355839, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 8355839, 524287, -1, 62, 33970, 8334, -1, 63, 33971, 8335, 0, 0, 8355711, 442367, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 16023475, 524287, -1, -1, -1, -1, -1, -1, -1, -1, 16777215, 0, 15826872, 5
|
||
|
dynamic_range = 2
|
||
|
energy = 0.4
|
||
|
bias = 1.5
|
||
|
normal_bias = 0.0
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=7]
|
||
|
emission_enabled = true
|
||
|
emission = Color( 1, 0.839216, 0.0392157, 1 )
|
||
|
emission_energy = 2.0
|
||
|
emission_operator = 0
|
||
|
emission_on_uv2 = false
|
||
|
|
||
|
[sub_resource type="CubeMesh" id=8]
|
||
|
size = Vector3( 1, 1, 1 )
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=9]
|
||
|
emission_enabled = true
|
||
|
emission = Color( 0.0980392, 0.0980392, 0.117647, 1 )
|
||
|
emission_energy = 1.0
|
||
|
emission_operator = 0
|
||
|
emission_on_uv2 = false
|
||
|
|
||
|
[sub_resource type="SphereMesh" id=2]
|
||
|
|
||
|
[sub_resource type="SpatialMaterial" id=3]
|
||
|
albedo_color = Color( 0.752941, 1, 0.643137, 1 )
|
||
|
metallic = 1.0
|
||
|
roughness = 0.0
|
||
|
|
||
|
[node name="Test" type="Spatial"]
|
||
|
script = ExtResource( 5 )
|
||
|
|
||
|
[node name="ZdmBakeIndirect" parent="." instance=ExtResource( 1 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2 )
|
||
|
|
||
|
[node name="BakedLightmapIndirect" type="BakedLightmap" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 6, 2.5 )
|
||
|
extents = Vector3( 39, 18.5, 30 )
|
||
|
quality = 3
|
||
|
environment_mode = 1
|
||
|
capture_enabled = false
|
||
|
light_data = ExtResource( 2 )
|
||
|
|
||
|
[node name="ZdmBakeAll" parent="." instance=ExtResource( 1 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2 )
|
||
|
visible = false
|
||
|
|
||
|
[node name="BakedLightmapAll" type="BakedLightmap" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 6, 2.5 )
|
||
|
visible = false
|
||
|
extents = Vector3( 39, 18.5, 30 )
|
||
|
quality = 3
|
||
|
environment_mode = 1
|
||
|
capture_enabled = false
|
||
|
light_data = ExtResource( 4 )
|
||
|
|
||
|
[node name="ZdmNoBake" parent="." instance=ExtResource( 1 )]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0, 2 )
|
||
|
visible = false
|
||
|
|
||
|
[node name="GIProbe" type="GIProbe" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 5, 6, 2.5 )
|
||
|
visible = false
|
||
|
extents = Vector3( 39, 18.5, 30 )
|
||
|
dynamic_range = 2
|
||
|
energy = 0.4
|
||
|
propagation = 1.0
|
||
|
data = SubResource( 1 )
|
||
|
|
||
|
[node name="Sun" type="DirectionalLight" parent="."]
|
||
|
transform = Transform( 0.889832, -0.251497, 0.380722, 0, 0.834387, 0.551179, -0.456289, -0.490456, 0.742464, 4.47302, 6.47568, 8.72305 )
|
||
|
shadow_enabled = true
|
||
|
directional_shadow_max_distance = 85.0
|
||
|
|
||
|
[node name="GrateOmniLight" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 11.9461, -1.33084, -5.52646 )
|
||
|
light_color = Color( 1, 0.905882, 0.470588, 1 )
|
||
|
shadow_enabled = true
|
||
|
omni_range = 10.0
|
||
|
omni_attenuation = 2.0
|
||
|
|
||
|
[node name="GarageOmniLight" type="OmniLight" parent="."]
|
||
|
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 21.6053, -1.96042, -13.798 )
|
||
|
light_color = Color( 0.984314, 0.552941, 1, 1 )
|
||
|
light_energy = 15.0
|
||
|
shadow_enabled = true
|
||
|
omni_range = 10.0
|
||
|
omni_attenuation = 2.0
|
||
|
|
||
|
[node name="CornerSpotLight" type="SpotLight" parent="."]
|
||
|
transform = Transform( 0.909405, -0.0463933, 0.413316, -0.290385, -0.782269, 0.551118, 0.297756, -0.62121, -0.724872, -14.0594, -1.81824, 12.3035 )
|
||
|
light_color = Color( 1, 0, 0, 1 )
|
||
|
light_energy = 14.77
|
||
|
spot_range = 15.0
|
||
|
spot_attenuation = 2.0
|
||
|
spot_angle_attenuation = 0.5
|
||
|
|
||
|
[node name="GlowingBox" parent="." instance=ExtResource( 3 )]
|
||
|
transform = Transform( 1.4, 0, 0, 0, 1, 0, 0, 0, 0.25, -0.681709, -0.108265, 25.4051 )
|
||
|
|
||
|
[node name="Cube" parent="GlowingBox" index="0"]
|
||
|
material/0 = SubResource( 7 )
|
||
|
|
||
|
[node name="Camera" type="Camera" parent="."]
|
||
|
transform = Transform( -0.997523, -0.00719588, 0.0699685, -8.94368e-09, 0.994753, 0.102305, -0.0703375, 0.102052, -0.992289, 11.7976, 1.49898, 9.54247 )
|
||
|
script = ExtResource( 6 )
|
||
|
|
||
|
[node name="Box" type="MeshInstance" parent="Camera"]
|
||
|
transform = Transform( 0.999999, -5.12227e-09, 9.68575e-08, 2.79397e-09, 0.999999, 8.9407e-08, 7.45058e-09, -1.11759e-07, 0.999999, -1.4, -0.999998, -3.99998 )
|
||
|
mesh = SubResource( 8 )
|
||
|
material/0 = SubResource( 9 )
|
||
|
|
||
|
[node name="ReflectiveSphere" type="MeshInstance" parent="Camera"]
|
||
|
transform = Transform( -0.997523, -8.41886e-09, -0.0703376, -0.00719589, 0.994753, 0.102052, 0.0699685, 0.102305, -0.992289, 0.16733, -1.22931, -3.81225 )
|
||
|
layers = 2
|
||
|
mesh = SubResource( 2 )
|
||
|
material/0 = SubResource( 3 )
|
||
|
|
||
|
[node name="ReflectionProbe" type="ReflectionProbe" parent="Camera/ReflectiveSphere"]
|
||
|
transform = Transform( 1, -8.38189e-09, -8.9407e-08, 5.58791e-09, 1, -5.21541e-07, 4.47035e-08, 1.11759e-07, 1, 0, 0, 0 )
|
||
|
max_distance = 50.0
|
||
|
extents = Vector3( 10, 10, 10 )
|
||
|
box_projection = true
|
||
|
enable_shadows = true
|
||
|
|
||
|
[node name="GIMode" type="Label" parent="."]
|
||
|
margin_left = 16.0
|
||
|
margin_top = 16.0
|
||
|
margin_right = 272.0
|
||
|
margin_bottom = 30.0
|
||
|
text = "Current GI mode: None (Fastest)"
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="ReflectionProbeMode" type="Label" parent="."]
|
||
|
margin_left = 16.0
|
||
|
margin_top = 40.0
|
||
|
margin_right = 272.0
|
||
|
margin_bottom = 54.0
|
||
|
text = "Reflection probe:"
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[node name="Label" type="Label" parent="."]
|
||
|
margin_left = 16.0
|
||
|
margin_top = 64.0
|
||
|
margin_right = 454.0
|
||
|
margin_bottom = 78.0
|
||
|
text = "Press Space to cycle between GI modes, R to toggle reflection probe
|
||
|
Press Esc or F10 to toggle mouse capture"
|
||
|
__meta__ = {
|
||
|
"_edit_use_anchors_": false
|
||
|
}
|
||
|
|
||
|
[editable path="GlowingBox"]
|