Fancy lighting??

This commit is contained in:
Thomas Muller 2024-12-21 00:04:51 -05:00
parent 1d51e870f3
commit 18a5ebfd50

View file

@ -1,9 +1,9 @@
[gd_scene load_steps=8 format=3 uid="uid://vv1rwk4sfpch"] [gd_scene load_steps=8 format=3 uid="uid://vv1rwk4sfpch"]
[ext_resource type="PackedScene" uid="uid://clvn53i6enmno" path="res://assets/maps/devworld.blend" id="1_pj3hd"] [ext_resource type="PackedScene" uid="uid://cpo6l8pmxj6wo" path="res://assets/maps/devworld.blend" id="1_pj3hd"]
[ext_resource type="PackedScene" uid="uid://cy86jyiy6skvk" path="res://scenes/player.tscn" id="2_b2roh"] [ext_resource type="PackedScene" uid="uid://cy86jyiy6skvk" path="res://scenes/player.tscn" id="2_b2roh"]
[ext_resource type="PackedScene" uid="uid://nnxd1djnxech" path="res://scenes/phys_cube.tscn" id="3_8byy4"] [ext_resource type="PackedScene" uid="uid://nnxd1djnxech" path="res://scenes/phys_cube.tscn" id="3_8byy4"]
[ext_resource type="PackedScene" uid="uid://c8untjpyh1rjm" path="res://assets/models/general/mirror.blend" id="4_8rfge"] [ext_resource type="PackedScene" path="res://assets/models/general/mirror.blend" id="4_8rfge"]
[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_2mm68"] [sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_2mm68"]
sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1) sky_horizon_color = Color(0.64625, 0.65575, 0.67075, 1)
@ -15,19 +15,35 @@ sky_material = SubResource("ProceduralSkyMaterial_2mm68")
[sub_resource type="Environment" id="Environment_x3vhq"] [sub_resource type="Environment" id="Environment_x3vhq"]
background_mode = 2 background_mode = 2
sky = SubResource("Sky_frs4c") sky = SubResource("Sky_frs4c")
tonemap_mode = 2 tonemap_mode = 3
ssr_enabled = true ssr_enabled = true
ssao_enabled = true ssao_enabled = true
ssil_enabled = true ssil_enabled = true
sdfgi_enabled = true sdfgi_enabled = true
sdfgi_use_occlusion = true sdfgi_use_occlusion = true
glow_enabled = true glow_enabled = true
volumetric_fog_enabled = true
volumetric_fog_density = 0.01
[node name="Devworld" type="Node3D"] [node name="Devworld" type="Node3D"]
[node name="WorldEnvironment" type="WorldEnvironment" parent="."] [node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_x3vhq") environment = SubResource("Environment_x3vhq")
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.60592, 0)
light_energy = 7.61
shadow_enabled = true
omni_range = 4096.0
[node name="ReflectionProbe" type="ReflectionProbe" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 31, 0)
update_mode = 1
size = Vector3(62, 62.835, 62)
box_projection = true
interior = true
enable_shadows = true
[node name="devworld" parent="." instance=ExtResource("1_pj3hd")] [node name="devworld" parent="." instance=ExtResource("1_pj3hd")]
[node name="cameratri" parent="devworld/player" index="1"] [node name="cameratri" parent="devworld/player" index="1"]
@ -43,20 +59,10 @@ visible = false
transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.803, 0, 7.171) transform = Transform3D(-4.37114e-08, 0, 1, 0, 1, 0, -1, 0, -4.37114e-08, 5.803, 0, 7.171)
[node name="PhysCube" parent="." instance=ExtResource("3_8byy4")] [node name="PhysCube" parent="." instance=ExtResource("3_8byy4")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.51921, 5.04702, 11.6844) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.348621, 0.889988, -0.509634)
[node name="CSGBox3D" type="CSGBox3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.11, 0)
use_collision = true
size = Vector3(60, 0.2, 60)
[node name="mirror" parent="." instance=ExtResource("4_8rfge")] [node name="mirror" parent="." instance=ExtResource("4_8rfge")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.21713, 1.33524, 15.4176) transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.21713, 1.33524, 15.4176)
[node name="OmniLight3D" type="OmniLight3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 6.60592, 0)
light_energy = 16.41
omni_range = 4096.0
[editable path="devworld"] [editable path="devworld"]
[editable path="mirror"] [editable path="mirror"]