Relighting, main scene to level 01

This commit is contained in:
Victor Turgeon
2022-10-12 14:27:03 -04:00
parent 5a37707d79
commit 1fd750cf6e
4 changed files with 39 additions and 47 deletions

View File

@@ -25,14 +25,21 @@ albedo_texture = ExtResource( 1 )
[sub_resource type="SpatialMaterial" id=5]
albedo_texture = ExtResource( 1 )
[sub_resource type="PanoramaSky" id=9]
[sub_resource type="DynamicFont" id=8]
size = 64
outline_size = 4
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
use_filter = true
font_data = ExtResource( 8 )
[sub_resource type="PanoramaSky" id=11]
panorama = ExtResource( 6 )
[sub_resource type="Environment" id=7]
[sub_resource type="Environment" id=10]
background_mode = 2
background_sky = SubResource( 9 )
ambient_light_energy = 0.67
fog_enabled = true
background_sky = SubResource( 11 )
ambient_light_energy = 0.5
fog_color = Color( 0.305882, 0.372549, 0.52549, 1 )
fog_sun_color = Color( 0.901961, 0.803922, 0.752941, 1 )
fog_sun_amount = 1.0
@@ -58,14 +65,6 @@ glow_bloom = 0.02
glow_hdr_threshold = 0.44
glow_bicubic_upscale = true
[sub_resource type="DynamicFont" id=8]
size = 64
outline_size = 4
outline_color = Color( 0, 0, 0, 1 )
use_mipmaps = true
use_filter = true
font_data = ExtResource( 8 )
[node name="lvl2" type="Spatial"]
script = ExtResource( 7 )
@@ -112,15 +111,6 @@ transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, 0.311301, 5.60897, -25.7954 )
[node name="Enemy2" parent="." instance=ExtResource( 3 )]
transform = Transform( 1, 0, 0, 0, 1, 0, 0, 0, 1, -0.950571, 4.64411, 34.8337 )
[node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
environment = SubResource( 7 )
[node name="DirectionalLight_EpicBlueSky" type="DirectionalLight" parent="."]
transform = Transform( 1, 0, 0, 0, 0.849579, 0.527461, 0, -0.527461, 0.849579, 0, 26.5368, 0 )
light_color = Color( 1, 0.924276, 0.869018, 1 )
light_specular = 1.0
shadow_enabled = true
[node name="Messages" type="Control" parent="."]
margin_right = 40.0
margin_bottom = 40.0
@@ -143,6 +133,12 @@ stream = ExtResource( 9 )
volume_db = -3.0
bus = "Music"
[node name="Sun" type="DirectionalLight" parent="."]
transform = Transform( 0.707107, -0.353553, 0.612372, 0, 0.866025, 0.5, -0.707107, -0.353553, 0.612372, 7.99925, 6, 7.97141 )
[node name="WorldEnvironment_EpicBlueSky" type="WorldEnvironment" parent="."]
environment = SubResource( 10 )
[connection signal="dying" from="Enemy" to="." method="_on_Enemy_dying"]
[connection signal="dying" from="Enemy2" to="." method="_on_Enemy_dying"]
[connection signal="timeout" from="End" to="." method="_on_Win_timeout"]