Add world environment with maximum ambient light

This commit is contained in:
Jarrod Doyle 2024-08-25 11:21:32 +01:00
parent 0c0394df86
commit ad68c25447
Signed by: Jayrude
GPG Key ID: 38B57B16E7C0ADF7
1 changed files with 9 additions and 1 deletions

View File

@ -1,9 +1,14 @@
[gd_scene load_steps=4 format=3 uid="uid://boxi211q3kx6c"]
[gd_scene load_steps=5 format=3 uid="uid://boxi211q3kx6c"]
[ext_resource type="Script" path="res://project/code/TMV/Mission.cs" id="1_3gnqe"]
[ext_resource type="Script" path="res://project/code/camera.gd" id="2_w5otl"]
[ext_resource type="PackedScene" uid="uid://cekg1xb5f0ux1" path="res://project/scenes/ui/mission_selector.tscn" id="3_hwfcj"]
[sub_resource type="Environment" id="Environment_cckyk"]
ambient_light_source = 2
ambient_light_color = Color(1, 1, 1, 1)
ssao_enabled = true
[node name="Main" type="Node3D"]
[node name="Mission" type="Node3D" parent="."]
@ -17,3 +22,6 @@ script = ExtResource("2_w5otl")
[node name="MissionSelector" parent="UI" instance=ExtResource("3_hwfcj")]
unique_name_in_owner = true
[node name="WorldEnvironment" type="WorldEnvironment" parent="."]
environment = SubResource("Environment_cckyk")