Skip to content

Commit

Permalink
Refine configuration and optimize rendering parameters.
Browse files Browse the repository at this point in the history
Updated various configuration files to refine shader sharing, material libraries, and enable DLSS. Adjusted rendering settings to optimize performance, including frame latency and Lumen reflections. These changes aim to improve graphics quality and performance stability.

Signed-off-by: Gregory <[email protected]>
  • Loading branch information
tajemniktv committed Oct 27, 2024
1 parent f25a7d6 commit e8e4642
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 41 deletions.
4 changes: 2 additions & 2 deletions Config/ConsoleVariables.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FX.AllowCulling=1 ;Default: ? alternatives: 0
r.Streaming.PoolSize.VRAMPercentageClamp=1024 ; Alternatives: 1024
;r.Streaming.PoolSize.VRAMPercentageClamp=1024 ; Alternatives: 1024
r.AOGlobalDistanceField.FastCameraMode=0
r.NGX.DLSS.Enable=0
r.NGX.DLSS.Enable = 1
74 changes: 38 additions & 36 deletions Config/Engine.ini
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
;D3D12.InsertOuterOcclusionQuery=1
;D3D12.MaxDescriptorHeapSize=1000000
;D3D12.MaximumFrameLatency=2 ;alternatives: 0, 3
;framegrabber.framelatency=2
framegrabber.framelatency = 60
;D3D12.NumBufferedFrames=
;D3D12.PreferD32DepthBuffer=0
;D3D12.PreferDXCCompiler=1
Expand All @@ -130,7 +130,7 @@
;D3D12.StablePowerState=0 ;Default: 0 Alternatives: 1
;D3D12.SyncWithDWM=0 ;alternatives: 1
;D3D12.TexturePoolOnlyAccountStreamableTexture=1
;D3D12.UseAllowTearing=1
;D3D12.UseAllowTearing=1 ;Default: 1
;D3D12.UseUpdateTexture3DComputeShader=1 ;Default: 0 alternatives: 0
;D3D12.ZeroBufferSizeInMB=16 ;Default: 4 alternatives: 128

Expand Down Expand Up @@ -420,7 +420,7 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
; START OF
; ================================================================================

;r.ContactShadows=1 ;alternatives: 0
;r.ContactShadows=0 ;alternatives: 1
;r.CreateShadersOnLoad=1
;r.CullBeforeFetch=1

Expand Down Expand Up @@ -500,7 +500,7 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
;r.DontLimitOnBattery=0 ;alternatives: 1
;r.DownsampledOcclusionQueries=1
;r.DX11NVAfterMathEnabled=0
;r.DynamicGlobalIlluminationMethod=1
r.DynamicGlobalIlluminationMethod = 1
;r.DynamicRes.MinScreenPercentage=100
;r.DynamicRes.OperationMode=0

Expand Down Expand Up @@ -676,8 +676,8 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
; START OF
; ================================================================================

;r.Lumen.AsyncCompute=1
;r.Lumen.DiffuseIndirect.AsyncCompute=0
r.Lumen.AsyncCompute = 1 ;Default: 0
r.Lumen.DiffuseIndirect.AsyncCompute = 0
;r.Lumen.HardwareRayTracing.LightingMode=2 ;alternatives: 1
;r.Lumen.HardwareRayTracing=True
;r.Lumen.RadianceCache.SortTraceTiles=1
Expand All @@ -686,43 +686,44 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
;r.Lumen.Reflections.DownsampleFactor=1
;r.Lumen.Reflections.GGXSamplingBias=0.3
;r.Lumen.Reflections.HierarchicalScreenTraces.MaxIterations=200 ;alternatives: 400
;r.Lumen.Reflections.MaxBounces=3 ;alternatives: 6
r.Lumen.Reflections.MaxBounces = 2 ;alternatives: 6
;r.Lumen.Reflections.MaxRoughness=0.3 ;alternatives: 0.5
;r.Lumen.Reflections.RadianceCache=1
;r.Lumen.Reflections.ScreenSpaceReconstruction.NumSamples=10
;r.Lumen.Reflections.ScreenTraces=1
;r.Lumen.Reflections.SmoothBias=0.8
;r.Lumen.Reflections.Temporal.MaxFramesAccumulated=128
;r.Lumen.Reflections.TraceMeshSDFs=1
;r.Lumen.Reflections.TranslucencyReflections.FrontLayer.Enable=1
;r.Lumen.Reflections.TranslucencyReflections.FrontLayer.EnableForProject=1
;r.Lumen.SampleFog=1
;r.Lumen.ScreenProbeGather.DiffuseIntegralMethod=1
;r.Lumen.ScreenProbeGather.DownsampleFactor=24 ;alternatives: 26
;r.Lumen.ScreenProbeGather.FullResolutionJitterWidth=0.5
r.Lumen.Reflections.ScreenSpaceReconstruction.NumSamples = 10
r.Lumen.Reflections.ScreenTraces = 0 ;Alternatives:1
r.Lumen.Reflections.SmoothBias = 0.7
r.Lumen.Reflections.Temporal.MaxFramesAccumulated = 256
r.Lumen.Reflections.TraceMeshSDFs = 1 ;Default: 1
;r.Lumen.SampleFog=0 :Default: 0
r.Lumen.ScreenProbeGather.DiffuseIntegralMethod = 2
r.Lumen.ScreenProbeGather.DownsampleFactor = 32 ;Default: 32, Alternatives: 26
r.Lumen.ScreenProbeGather.FullResolutionJitterWidth = 0.5
;r.Lumen.ScreenProbeGather.ImportanceSample.MinPDFToTrace=0.5
;r.Lumen.ScreenProbeGather.MaxRayIntensity=200
;r.Lumen.ScreenProbeGather.ReferenceMode=1
;r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal.MaxIterations=400 ;alternatives: 200
r.Lumen.ScreenProbeGather.MaxRayIntensity = 200
;r.Lumen.ScreenProbeGather.ReferenceMode=1 ;Default: 0 (Strip optimization)
r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal.MaxIterations = 200 ;Default: 50, alternatives: 400
;r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal.SkipFoliageHits=0
;r.Lumen.ScreenProbeGather.ScreenTraces.HZBTraversal=1
;r.Lumen.ScreenProbeGather.ScreenTraces.MinimumOccupancy=1
;r.Lumen.ScreenProbeGather.ShortRangeAO.ScreenSpace.SlopeCompareToleranceScale=1
;r.Lumen.ScreenProbeGather.SpatialFilterNumPasses=2
;r.Lumen.ScreenProbeGather.StochasticInterpolation=4 ;alternatives: 2
;r.Lumen.ScreenProbeGather.Temporal.MaxFramesAccumulated=25 ;alternatives: 30
;r.Lumen.ScreenProbeGather.TemporalFilterProbes=1
r.Lumen.ScreenProbeGather.Temporal.MaxFramesAccumulated = 25 ;Default: 10, Alternatives: 30
r.Lumen.ScreenProbeGather.TemporalFilterProbes = 1 ;Default: 0
;r.Lumen.ScreenProbeGather.TraceMeshSDFs=1
;r.Lumen.ScreenProbeGather.TracingOctahedronResolution=10
r.Lumen.ScreenProbeGather.TracingOctahedronResolution = 6
;r.Lumen.ScreenProbeGather.TwoSidedFoliageBackfaceDiffuse=1
;r.Lumen.SkylightLeaking.Roughness=0.5
;r.Lumen.SkylightLeaking.Roughness=0.5 ;Default: 0.3,
;r.Lumen.TraceDistanceScale=1
;r.Lumen.TraceMeshSDFs.Allow=1
;r.Lumen.TraceMeshSDFs.TraceDistance=200 ;alternatives: 225, 250
;r.Lumen.TraceMeshSDFs=1
;r.Lumen.TranslucencyReflections.FrontLayer.Enable=1
;r.Lumen.TranslucencyReflections.FrontLayer.EnableForProject=1
r.Lumen.TraceMeshSDFs.Allow = 1
r.Lumen.TraceMeshSDFs.TraceDistance = 200 ;alternatives: 225, 250
r.Lumen.TraceMeshSDFs = 1
r.Lumen.TranslucencyReflections.FrontLayer.Enable = 1 ;Also set via console
r.Lumen.TranslucencyReflections.FrontLayer.EnableForProject = 1
;r.Lumen.TranslucencyVolume.RadianceCache.FarField=1
r.LumenScene.SurfaceCache.CardTexelDensityScale = 10000
r.LumenScene.SurfaceCache.ForceEvictHiResPages = 1
r.LumenScene.SurfaceCache.CardCaptureFactor = 16

; ================================================================================
; START OF
Expand Down Expand Up @@ -751,6 +752,7 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
; START OF
; ================================================================================

r.ReflectionMethod = 1
;r.RayTracing.GlobalIllumination.FireflySuppression=1
;r.RayTracing.SkyLight.MaxShadowThickness=5
;r.RayTracing.Translucency.MinRayDistance=100
Expand Down Expand Up @@ -859,12 +861,12 @@ r.AOGlobalDistanceField.MinMeshSDFRadius=10 ;Default: , Alternatives: 5, 10
; START OF
; ================================================================================

;tick.AllowAsyncComponentTicks=1
;tick.AllowAsyncTickCleanup=1
;tick.AllowAsyncTickDispatch=1
;tick.AllowConcurrentTickQueue=1
;tick.AnimationDelaysEndGroup=1
;tick.HiPriSkinnedMeshes=1
;tick.AllowAsyncComponentTicks=1 ;Default: 1
;tick.AllowAsyncTickCleanup=1 ;Default: 0
;tick.AllowAsyncTickDispatch=1 ;Default: 0
;tick.AllowConcurrentTickQueue=1 ;Default: 1
;tick.AnimationDelaysEndGroup=1 ;Default: 1
;tick.HiPriSkinnedMeshes=1 ;Default: 1

; ================================================================================
; START OF
Expand Down
6 changes: 3 additions & 3 deletions Config/Game.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[/Script/UnrealEd.ProjectPackagingSettings]
bShareMaterialShaderCode = True
bSharedMaterialNativeLibraries = True
bShareMaterialShaderCode = 1
bSharedMaterialNativeLibraries = 1

[/Script/AkAudio.AkSettings]
bEnableMultiCoreRendering = True
bEnableMultiCoreRendering = 1
Binary file modified Content/RootMenuWorld_TajsGraph.uasset
Binary file not shown.
Binary file modified Content/TajsGraph_ConfigStruct.uasset
Binary file not shown.

0 comments on commit e8e4642

Please sign in to comment.