Add more lighting to levels

soundtrack
Ensar Sarajčić 2021-11-22 18:53:31 +01:00
parent f5e273440b
commit 4cbb234b8e
4 changed files with 23 additions and 1 deletions

View File

@ -152,4 +152,13 @@ material/0 = null
[node name="CollisionShape" type="CollisionShape" parent="StaticBody" index="1"]
shape = SubResource( 11 )
[node name="OmniLight" type="OmniLight" parent="." index="6"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 152.638, 0 )
light_energy = 2.0
light_indirect_energy = 9.073
light_specular = 0.0
shadow_bias = 5.0
shadow_contact = 10.0
omni_range = 386.504
[connection signal="body_entered" from="ResetArea" to="." method="_on_ResetArea_body_entered"]

View File

@ -219,4 +219,9 @@ transform = Transform( 10.1959, 0, 0, 0, 0.278844, 0, 0, 0, 10.1959, -0.0041151,
mesh = SubResource( 22 )
material/0 = null
[node name="DirectionalLight" type="DirectionalLight" parent="." index="8"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 114.863, 0 )
light_energy = 10.0
shadow_enabled = true
[connection signal="body_entered" from="ResetArea" to="." method="_on_ResetArea_body_entered"]

View File

@ -69,7 +69,7 @@ polygon = PoolVector2Array( -5, 0.01, -5, 1, 5, 1, 5, 0.01 )
mode = 2
path_node = NodePath("../..")
path_interval_type = 0
path_interval = 1.0
path_interval = 5.0
path_simplify_angle = 0.0
path_rotation = 2
path_local = true
@ -81,6 +81,7 @@ material = SubResource( 22 )
[node name="CSGBox" type="CSGBox" parent="Path/CSGCombiner" index="1"]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 10, 0 )
operation = 2
snap = 0.1
width = 589.656
height = 19.4136
depth = 443.585
@ -202,3 +203,8 @@ radius = 4.51348
height = 16.3311
sides = 20
material = SubResource( 22 )
[node name="DirectionalLight" type="DirectionalLight" parent="." index="13"]
transform = Transform( 0.851306, 0, -0.52467, 0, 1, 0, 0.52467, 0, 0.851306, 0, 35.584, 0 )
light_energy = 5.0
shadow_enabled = true

View File

@ -86,3 +86,5 @@ path_local = true
path_continuous_u = true
path_u_distance = 1.0
path_joined = true
[node name="DirectionalLight" type="DirectionalLight" parent="." index="4"]