-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from OudomMunint/OudomMunint-patch-1
patch-1 => main
- Loading branch information
Showing
19 changed files
with
170 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,4 +25,4 @@ jobs: | |
uses: ncipollo/[email protected] | ||
with: | ||
artifacts: "UE4&5-github-actions-build" | ||
tag: v2.1.2 | ||
tag: v2.1.3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,3 +75,4 @@ Plugins/*/Intermediate/* | |
|
||
# Cache files for the editor to use | ||
DerivedDataCache/* | ||
/enc_temp_folder |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"version": "1.0", | ||
"components": [ | ||
"Microsoft.Net.Component.4.6.2.TargetingPack", | ||
"Microsoft.VisualStudio.Component.VC.14.38.17.8.x86.x64", | ||
"Microsoft.VisualStudio.Component.VC.Tools.x86.x64", | ||
"Microsoft.VisualStudio.Component.Windows10SDK.22621", | ||
"Microsoft.VisualStudio.Workload.CoreEditor", | ||
"Microsoft.VisualStudio.Workload.ManagedDesktop", | ||
"Microsoft.VisualStudio.Workload.NativeDesktop", | ||
"Microsoft.VisualStudio.Workload.NativeGame" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
+2.6 KB
(100%)
Content/BlueprintsMGE/WidgetBP/Menus/WBP_Menu_Graphics.uasset
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+5.32 MB
(110%)
Content/StarterContent/HDRI/HDRI_Epic_Courtyard_Daylight.uasset
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
using UnrealBuildTool; | ||
using System.Collections.Generic; | ||
|
||
public class DESN2600TestTarget : TargetRules | ||
{ | ||
public DESN2600TestTarget(TargetInfo Target) : base(Target) | ||
{ | ||
Type = TargetType.Game; | ||
DefaultBuildSettings = BuildSettingsVersion.V5; | ||
|
||
ExtraModuleNames.AddRange( new string[] { "DESN2600Test" } ); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
|
||
|
||
using UnrealBuildTool; | ||
|
||
public class DESN2600Test : ModuleRules | ||
{ | ||
public DESN2600Test(ReadOnlyTargetRules Target) : base(Target) | ||
{ | ||
PCHUsage = PCHUsageMode.UseExplicitOrSharedPCHs; | ||
|
||
PublicDependencyModuleNames.AddRange(new string[] { "Core", "CoreUObject", "Engine", "InputCore" }); | ||
|
||
PrivateDependencyModuleNames.AddRange(new string[] { }); | ||
|
||
// Uncomment if you are using Slate UI | ||
// PrivateDependencyModuleNames.AddRange(new string[] { "Slate", "SlateCore" }); | ||
|
||
// Uncomment if you are using online features | ||
// PrivateDependencyModuleNames.Add("OnlineSubsystem"); | ||
|
||
// To include OnlineSubsystemSteam, add it to the plugins section in your uproject file with the Enabled attribute set to true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
#include "DESN2600Test.h" | ||
#include "Modules/ModuleManager.h" | ||
|
||
IMPLEMENT_PRIMARY_GAME_MODULE( FDefaultGameModuleImpl, DESN2600Test, "DESN2600Test" ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
|
||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
|
43 changes: 43 additions & 0 deletions
43
Source/DESN2600Test/Private/AGlobalIlluminationManager.cpp
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
#include "AGlobalIlluminationManager.h" | ||
#include "Engine/World.h" | ||
#include "Engine/Engine.h" | ||
#include "GameFramework/Actor.h" | ||
#include "HAL/IConsoleManager.h" | ||
#include "Scalability.h" | ||
|
||
// Sets default values | ||
AAGlobalIlluminationManager::AAGlobalIlluminationManager() | ||
{ | ||
// Set this actor to call Tick() every frame. You can turn this off to improve performance if you don't need it. | ||
PrimaryActorTick.bCanEverTick = true; | ||
} | ||
|
||
// Called when the game starts or when spawned | ||
void AAGlobalIlluminationManager::BeginPlay() | ||
{ | ||
Super::BeginPlay(); | ||
} | ||
|
||
// Called every frame | ||
void AAGlobalIlluminationManager::Tick(float DeltaTime) | ||
{ | ||
Super::Tick(DeltaTime); | ||
|
||
if (Scalability::GetQualityLevels().GlobalIlluminationQuality <= 1) | ||
{ | ||
IConsoleManager::Get().FindConsoleVariable(TEXT("r.DynamicGlobalIlluminationMethod"))->Set(2); | ||
IConsoleManager::Get().FindConsoleVariable(TEXT("r.ReflectionMethod"))->Set(2); | ||
IConsoleManager::Get().FindConsoleVariable(TEXT("r.SSGI.Quality"))->Set(4); | ||
|
||
UE_LOG(LogTemp, Warning, TEXT("Lumen is disabled")); | ||
UE_LOG(LogTemp, Warning, TEXT("SSGI fallback is enabled")); | ||
UE_LOG(LogTemp, Warning, TEXT("SSR fallback is enabled")); | ||
} | ||
else if (Scalability::GetQualityLevels().GlobalIlluminationQuality > 1) | ||
{ | ||
IConsoleManager::Get().FindConsoleVariable(TEXT("r.DynamicGlobalIlluminationMethod"))->Set(1); | ||
IConsoleManager::Get().FindConsoleVariable(TEXT("r.ReflectionMethod"))->Set(1); | ||
|
||
UE_LOG(LogTemp, Warning, TEXT("Lumen GI & Reflections is enabled")); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
|
||
|
||
#pragma once | ||
|
||
#include "CoreMinimal.h" | ||
#include "GameFramework/Actor.h" | ||
#include "AGlobalIlluminationManager.generated.h" | ||
|
||
UCLASS() | ||
class DESN2600TEST_API AAGlobalIlluminationManager : public AActor | ||
{ | ||
GENERATED_BODY() | ||
|
||
public: | ||
// Sets default values for this actor's properties | ||
AAGlobalIlluminationManager(); | ||
|
||
protected: | ||
// Called when the game starts or when spawned | ||
virtual void BeginPlay() override; | ||
|
||
public: | ||
// Called every frame | ||
virtual void Tick(float DeltaTime) override; | ||
|
||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
|
||
|
||
using UnrealBuildTool; | ||
using System.Collections.Generic; | ||
|
||
public class DESN2600TestEditorTarget : TargetRules | ||
{ | ||
public DESN2600TestEditorTarget(TargetInfo Target) : base(Target) | ||
{ | ||
Type = TargetType.Editor; | ||
DefaultBuildSettings = BuildSettingsVersion.V5; | ||
|
||
ExtraModuleNames.AddRange( new string[] { "DESN2600Test" } ); | ||
} | ||
} |