Optimization and improvements, disable DFAO, enable SMAA by default, do not rotate the moon, it's stationary now
This commit is contained in:
@@ -137,7 +137,7 @@ r.SupportDepthOnlyIndexBuffers=True
|
|||||||
r.SupportReversedIndexBuffers=True
|
r.SupportReversedIndexBuffers=True
|
||||||
r.SupportMaterialLayers=False
|
r.SupportMaterialLayers=False
|
||||||
r.LightPropagationVolume=False
|
r.LightPropagationVolume=False
|
||||||
r.AntiAliasingMethod=2
|
r.AntiAliasingMethod=5
|
||||||
r.Mobile.AmbientOcclusion=True
|
r.Mobile.AmbientOcclusion=True
|
||||||
r.ReflectionMethod=2
|
r.ReflectionMethod=2
|
||||||
r.DynamicGlobalIlluminationMethod=0
|
r.DynamicGlobalIlluminationMethod=0
|
||||||
@@ -176,7 +176,7 @@ r.Shadow.Virtual.Enable=0
|
|||||||
r.Velocity.EnableVertexDeformation=1
|
r.Velocity.EnableVertexDeformation=1
|
||||||
r.DepthOfFieldQuality=0
|
r.DepthOfFieldQuality=0
|
||||||
|
|
||||||
r.AmbientOcclusion.Compute=1
|
r.AmbientOcclusion.Compute= 3
|
||||||
r.VelocityOutputPass=1
|
r.VelocityOutputPass=1
|
||||||
|
|
||||||
r.AntiAliasingQuality=4
|
r.AntiAliasingQuality=4
|
||||||
@@ -192,6 +192,8 @@ r.SSGI.Quality=4
|
|||||||
r.VolumetricRenderTarget.Mode=1
|
r.VolumetricRenderTarget.Mode=1
|
||||||
r.VolumetricCloud.ViewRaySampleMaxCount=64
|
r.VolumetricCloud.ViewRaySampleMaxCount=64
|
||||||
|
|
||||||
|
r.DistanceFieldAO=0
|
||||||
|
|
||||||
[/Script/LinuxTargetPlatform.LinuxTargetSettings]
|
[/Script/LinuxTargetPlatform.LinuxTargetSettings]
|
||||||
TargetArchitecture=X86_64UnknownLinuxGnu
|
TargetArchitecture=X86_64UnknownLinuxGnu
|
||||||
|
|
||||||
|
|||||||
Binary file not shown.
BIN
Content/UI/OptionsScreen.uasset
LFS
BIN
Content/UI/OptionsScreen.uasset
LFS
Binary file not shown.
Binary file not shown.
@@ -291,13 +291,6 @@ void ATimeOfDayManager::RotateSun(const float &_rotator)
|
|||||||
FRotator currentSunRotation = FRotator(FRotator::MakeFromEuler(currentRotInVectors));
|
FRotator currentSunRotation = FRotator(FRotator::MakeFromEuler(currentRotInVectors));
|
||||||
sunLight->SetWorldRotation(currentSunRotation);
|
sunLight->SetWorldRotation(currentSunRotation);
|
||||||
}
|
}
|
||||||
if (moonLight->IsValidLowLevel())
|
|
||||||
{
|
|
||||||
FVector currentRotInVectors = FVector(
|
|
||||||
0.0f, CurrentWeatherPreset->MoonRotationCurve->GetFloatValue(FloatMinutes), 110.0f);
|
|
||||||
FRotator currentMoonRotation = FRotator(FRotator::MakeFromEuler(currentRotInVectors));
|
|
||||||
moonLight->SetWorldRotation(currentMoonRotation);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
void ATimeOfDayManager::SetDirectionalLightIntensity(const float &_rotator)
|
void ATimeOfDayManager::SetDirectionalLightIntensity(const float &_rotator)
|
||||||
@@ -482,6 +475,14 @@ void ATimeOfDayManager::ToggleTimeActive(bool bNewActive)
|
|||||||
TimeTicking = bNewActive;
|
TimeTicking = bNewActive;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void ATimeOfDayManager::ToggleShadowsOnSkyLight(bool bActive)
|
||||||
|
{
|
||||||
|
if (skyLight)
|
||||||
|
{
|
||||||
|
skyLight->SetCastShadows(bActive);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
TArray<FCalendarDayData> ATimeOfDayManager::GetCalendarDataForMonth(int32 Month)
|
TArray<FCalendarDayData> ATimeOfDayManager::GetCalendarDataForMonth(int32 Month)
|
||||||
{
|
{
|
||||||
TArray<FCalendarDayData> Data;
|
TArray<FCalendarDayData> Data;
|
||||||
|
|||||||
@@ -311,6 +311,9 @@ public:
|
|||||||
UFUNCTION(BlueprintCallable, Category = "Time of day")
|
UFUNCTION(BlueprintCallable, Category = "Time of day")
|
||||||
void ToggleTimeActive(bool bNewActive);
|
void ToggleTimeActive(bool bNewActive);
|
||||||
|
|
||||||
|
UFUNCTION(BlueprintCallable, Category = "Time of day")
|
||||||
|
void ToggleShadowsOnSkyLight(bool bActive);
|
||||||
|
|
||||||
UFUNCTION(BlueprintCallable, Category = "Time of day")
|
UFUNCTION(BlueprintCallable, Category = "Time of day")
|
||||||
TArray<FCalendarDayData> GetCalendarDataForMonth(int32 Month = 1);
|
TArray<FCalendarDayData> GetCalendarDataForMonth(int32 Month = 1);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user