diff --git a/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4Shadow.uasset b/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4Shadow.uasset index b7b3f39..9146412 100644 Binary files a/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4Shadow.uasset and b/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4Shadow.uasset differ diff --git a/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4_End.uasset b/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4_End.uasset index c7065c4..36a3e37 100644 Binary files a/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4_End.uasset and b/Content/Levels/Level_1/Blueprints/BP_TriggerBoxScene4_End.uasset differ diff --git a/Content/Levels/Level_1/L_Level1.umap b/Content/Levels/Level_1/L_Level1.umap index 1dd5da1..7404240 100644 --- a/Content/Levels/Level_1/L_Level1.umap +++ b/Content/Levels/Level_1/L_Level1.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:f7cd3fe184d825f6ee6895c095b1b690a94585b78f08c3db3afb731897d446db -size 531391448 +oid sha256:21be15e4b1667d5e09bc25af0dbbf836b2bf001c564b789af5a866ed91998af3 +size 531399102 diff --git a/Content/Levels/Level_1/L_Level1_BuiltData.uasset b/Content/Levels/Level_1/L_Level1_BuiltData.uasset index c180a17..0b5dd5a 100644 --- a/Content/Levels/Level_1/L_Level1_BuiltData.uasset +++ b/Content/Levels/Level_1/L_Level1_BuiltData.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:6388c14674d1523079d8b23171f2b5fc9aa99a56222ea26edffe6d2c841b2ac5 -size 755527 +oid sha256:0bf777eed3d2ac3c4cda56fc90a1fbb70d5f0b737236557811f92b468d62380f +size 1587465 diff --git a/Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset b/Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset index 7829830..e20ac7c 100644 --- a/Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset +++ b/Content/Levels/Level_1/Materials/M_MonsterRedLevel1Scene4.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:a5fea1b0f0c6efe3de97af84299616661a856c606a1c665e6beeef7cce5cc2c8 -size 16054 +oid sha256:30693c0c589522d989d25ce511f811ee2983ec8e44df1f307ae5f97746c9da61 +size 19593 diff --git a/Content/Levels/Level_3/L_Level3.umap b/Content/Levels/Level_3/L_Level3.umap index 5d74411..a922e71 100644 --- a/Content/Levels/Level_3/L_Level3.umap +++ b/Content/Levels/Level_3/L_Level3.umap @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:414cead8bfc77a8f33e8d2d962f4f85c9c8b6fb0a40ace79418af8e4a158bc43 -size 362220 +oid sha256:c566fd6d644b65ea39d0878618f1f76c2bbeb1b9ed75a2337dac1ea97d289007 +size 361121 diff --git a/Content/Levels/Level_3/L_Level3_BuiltData.uasset b/Content/Levels/Level_3/L_Level3_BuiltData.uasset index 62a84ce..b83418e 100644 --- a/Content/Levels/Level_3/L_Level3_BuiltData.uasset +++ b/Content/Levels/Level_3/L_Level3_BuiltData.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ad121afb8318660a558bedaaaab5004d161fffa7c13d13660e70229d7ec2e53d -size 747352 +oid sha256:599048971918cf0d26d2a15ac48e08bf57211b1ff6cb3c86494e9f0ef83b5216 +size 225154 diff --git a/Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset b/Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset index 802e7fb..db0f5f7 100644 --- a/Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset +++ b/Content/Models/Nature/Flowers/Materials/MF_FlowersInteraction.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:646a28bac9865c15ba1f7f2be6834235b92e7061155c873d0fdbed4d8f2f6975 -size 113874 +oid sha256:9826badf7151b4b3aa8fec78aa246b912e85ca0ecfce550d93918b78941cfdf2 +size 24524 diff --git a/Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset b/Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset index caee429..4253cd1 100644 --- a/Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset +++ b/Content/Models/Nature/Flowers/Materials/M_LilyPetal.uasset @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:ca7d34333c9b4901dd622ad5696ec66f7650d6049a1e4f9acdfa1c7ba5927ca4 -size 117301 +oid sha256:f1339a9f1006cd43a2f5255ed1a6fef53a02d5291275756e1c2d1962eae1adf9 +size 38823 diff --git a/Source/Lost_Edge/Private/Levels/Level1.cpp b/Source/Lost_Edge/Private/Levels/Level1.cpp index 2420cf7..9a4c982 100644 --- a/Source/Lost_Edge/Private/Levels/Level1.cpp +++ b/Source/Lost_Edge/Private/Levels/Level1.cpp @@ -4,8 +4,10 @@ #include "Level1.h" #include "Atmosphere/AtmosphericFog.h" +#include "Components/ExponentialHeightFogComponent.h" #include "Components/LightComponent.h" #include "Engine/DirectionalLight.h" +#include "Engine/ExponentialHeightFog.h" #include "Engine/SkyLight.h" #include "LevelSequencePlayer.h" @@ -30,5 +32,8 @@ void ALevel1::TurnLight(bool show) void ALevel1::TurnFog(bool show) { if(fog->IsHidden() == show) + { fog->SetActorHiddenInGame(!show); + fog2->GetComponent()->SetVisibility(show); + } } diff --git a/Source/Lost_Edge/Private/Levels/Level1.h b/Source/Lost_Edge/Private/Levels/Level1.h index 67b3297..f9bee54 100644 --- a/Source/Lost_Edge/Private/Levels/Level1.h +++ b/Source/Lost_Edge/Private/Levels/Level1.h @@ -23,5 +23,7 @@ protected: TSoftObjectPtr directLight; UPROPERTY(EditDefaultsOnly) TSoftObjectPtr fog; + UPROPERTY(EditDefaultsOnly) + TSoftObjectPtr fog2; };