Added a directional light to the room.

This commit is contained in:
drwhut 2020-07-06 11:09:36 +01:00
parent 7bf5175736
commit 35c2a4b08c
2 changed files with 6 additions and 0 deletions

View File

@ -22,6 +22,11 @@ material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="Table/StaticBody"]
shape = SubResource( 2 )
[node name="DirectionalLight" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, -1.62921e-07, 1, 0, -1, -1.62921e-07, 0, 30, 0 )
light_energy = 0.5
shadow_enabled = true
[node name="CameraController" parent="." instance=ExtResource( 1 )]
transform = Transform( 1, 0, 0, 0, 0.707107, 0.707107, 0, -0.707107, 0.707107, 0, 0, 0 )

View File

@ -5,3 +5,4 @@
[resource]
background_mode = 2
background_sky = SubResource( 1 )
ambient_light_color = Color( 1, 1, 1, 1 )