Added world env

This commit is contained in:
2026-07-01 12:43:42 +03:00
parent bde22d87a9
commit 70aaf38050
+11
View File
@@ -1191,6 +1191,14 @@ shader_parameter/screen_to_world = Projection(1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0
[sub_resource type="ViewportTexture" id="ViewportTexture_bhunq"] [sub_resource type="ViewportTexture" id="ViewportTexture_bhunq"]
viewport_path = NodePath("CanvasLayer/CodeViewport") viewport_path = NodePath("CanvasLayer/CodeViewport")
[sub_resource type="Environment" id="Environment_bhunq"]
background_mode = 3
tonemap_mode = 3
glow_enabled = true
glow_intensity = 4.0
glow_hdr_threshold = 0.5
glow_hdr_scale = 4.0
[node name="AbstractLevel" type="Node2D" unique_id=1001045799] [node name="AbstractLevel" type="Node2D" unique_id=1001045799]
script = ExtResource("1_o2mui") script = ExtResource("1_o2mui")
@@ -1243,6 +1251,9 @@ one_shot = true
[node name="DeathFallTimer" type="Timer" parent="." unique_id=519159888] [node name="DeathFallTimer" type="Timer" parent="." unique_id=519159888]
one_shot = true one_shot = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=310371888]
environment = SubResource("Environment_bhunq")
[connection signal="dead" from="Player" to="." method="_on_player_dead"] [connection signal="dead" from="Player" to="." method="_on_player_dead"]
[connection signal="timeout" from="CorruptionTimer" to="." method="_on_corruption_timer_timeout"] [connection signal="timeout" from="CorruptionTimer" to="." method="_on_corruption_timer_timeout"]
[connection signal="timeout" from="DestructionTimer" to="." method="_on_destruction_timer_timeout"] [connection signal="timeout" from="DestructionTimer" to="." method="_on_destruction_timer_timeout"]