From 21fc45ff713fc5a32a4499857dd376c46fb13e88 Mon Sep 17 00:00:00 2001 From: Shea Frembling Date: Mon, 2 Mar 2026 13:43:31 -0600 Subject: [PATCH] add environment and directional light --- Testing/floor_prototype.tscn | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/Testing/floor_prototype.tscn b/Testing/floor_prototype.tscn index 051c5e1..8c5a235 100644 --- a/Testing/floor_prototype.tscn +++ b/Testing/floor_prototype.tscn @@ -2,8 +2,30 @@ [ext_resource type="PackedScene" uid="uid://diipi3w18rk4v" path="res://Player/player_controller.tscn" id="1_fau6w"] +[sub_resource type="ProceduralSkyMaterial" id="ProceduralSkyMaterial_fau6w"] +sky_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) +ground_horizon_color = Color(0.66224277, 0.6717428, 0.6867428, 1) + +[sub_resource type="Sky" id="Sky_gfyfu"] +sky_material = SubResource("ProceduralSkyMaterial_fau6w") + +[sub_resource type="Environment" id="Environment_7f328"] +background_mode = 2 +sky = SubResource("Sky_gfyfu") +tonemap_mode = 2 +ssao_enabled = true +sdfgi_enabled = true +glow_enabled = true + [node name="FloorPrototype" type="Node" unique_id=1720046870] +[node name="DirectionalLight3D" type="DirectionalLight3D" parent="." unique_id=315302175] +transform = Transform3D(-0.8660254, -0.43301278, 0.25, 0, 0.49999997, 0.86602545, -0.50000006, 0.75, -0.43301266, 0, 0, 0) +shadow_enabled = true + +[node name="WorldEnvironment" type="WorldEnvironment" parent="." unique_id=2146588525] +environment = SubResource("Environment_7f328") + [node name="WorldGeometry" type="Node" parent="." unique_id=1261921789] [node name="Floor" type="CSGBox3D" parent="WorldGeometry" unique_id=2080275060]