Gotham Knights

Gotham Knights

Not enough ratings
Gotham Knights UE Tweak Guide
By AdayDr1en
Yes..
   
Award
Favorite
Favorited
Unfavorite
Intro
Since UE4 games utilize built-in FXAA or TAA, both of which- blurry. Not very crisp.

My preset injects SMAA via ReShade. With a slight sharpen filter and a chromatic aberration filter.

you should get a picture clarity similar to that of the game running with the built-in options off.

CA can be toggled via 'home' key.

Also following with this guide, various Unreal Engine tweaks.

Relevant config files located in,

C:\Users\(yourusername)\AppData\Local\Mercury\Saved\Config\WindowsNoEditor

C:\Users\(yourusername)\AppData\Local\WB Games\Gotham Knights\Steam
Raw Mouse Input
Inside of Input.ini,

Paste the following

[/script/engine.inputsettings]
bEnableMouseSmoothing=False
LookRightScale=0.000000
LookUpScale=0.000000
bViewAccelerationEnabled=false

[Engine.PlayerInput]
bEnableMouseSmoothing=False
LookRightScale=0.000000
LookUpScale=0.000000
bViewAccelerationEnabled=false

Inside of Engine.ini,

Paste the following

[/script/engine.engine]
r.oneframethreadlag=0

Also helps to disable Vsync.

Directory,

C:\Users\(yourusername)\AppData\Local\WB Games\Gotham Knights\Steam

Paste at the bottom of InputSetting.ini, make new line.

[/script/engine.inputsettings]
bEnableMouseSmoothing=False
LookRightScale=0.000000
LookUpScale=0.000000
bViewAccelerationEnabled=false

[Engine.PlayerInput]
bEnableMouseSmoothing=False
LookRightScale=0.000000
LookUpScale=0.000000
bViewAccelerationEnabled=false

Visuals + (light)
Can impact performance a lot; Enabling qualities not found in menu or increasing them higher than most games allow. I use this set.

Better shadows, lighting, reflections.

r.LightFunctionQuality=1
r.EyeAdaptationQuality=2
r.LensFlareQuality=3
r.BloomQuality=5
r.LightShaftQuality=1
r.DynamicLights=True
r.DynamicShadows=True
r.bAllowLightShafts=True
r.CompositeDynamicLights=False
r.FloatingPointRenderTargets=True
r.AllowSubsurfaceScattering=True
r.SSS.Scale=1
r.SSS.SampleSet=2
r.SSS.Quality=1
r.SSS.HalfRes=0
r.AllowImageReflections=True
r.AllowImageReflectionShadowing=True
r.MaxWholeSceneDominantShadowResolution=2048
r.ShadowTexelsPerPixel=16.000000
r.bEnableVSMShadows=true
r.bEnableForegroundShadowsOnWorld=True
r.bEnableForegroundSelfShadowing=True
r.bAllowWholeSceneDominantShadows=True
r.ScreenPercentage=100

regarding r.MaxWholeSceneDominantShadowResolution= value: should be set to the same resolution, or one resolution lower or higher than your game shadow resolution. Example: 512 (Low), 1024 (Medium), 2048 (High), 4096 (Ultra). Or disable with r.bAllowWholeSceneDominantShadows=False.
Visuals (Heavy)
These are overkill.

r.SkeletalMeshLODBias=0
r.LightFunctionQuality=1
r.ShadowQuality=2
r.Shadow.CSM.MaxCascades=10
r.Shadow.MaxResolution=8192
r.Shadow.RadiusThreshold=0.03
r.Shadow.DistanceScale=2.0
r.Shadow.CSM.TransitionScale=1.0
r.DistanceFieldShadowing=1
r.DistanceFieldAO=1
r.MotionBlurQuality=0
r.AmbientOcclusionMipLevelFactor=0.4
r.AmbientOcclusionMaxQuality=100
r.AmbientOcclusionLevels=-1
r.AmbientOcclusionRadiusScale=1.0
r.DepthOfFieldQuality=4
r.RenderTargetPoolMin=1000
r.LensFlareQuality=3
r.SceneColorFringeQuality=1
r.EyeAdaptationQuality=2
r.BloomQuality=5
r.FastBlurThreshold=100
r.Upscale.Quality=3
r.Tonemapper.GrainQuantization=1
r.LightShaftQuality=1
r.Filter.SizeScale=1
r.Tonemapper.Quality=5
r.Streaming.MipBias=0
r.MaxAnisotropy=16
r.Streaming.LimitPoolSizeToVRAM=0
r.Streaming.PoolSize=3000
r.TranslucencyLightingVolumeDim=64
r.RefractionQuality=2
r.SSR.Quality=4
r.SceneColorFormat=4
r.DetailMode=2
r.TranslucencyVolumeBlur=1
r.MaterialQualityLevel=1 ; High quality
r.SSS.Scale=1
r.SSS.SampleSet=2
r.SSS.Quality=1
r.SSS.HalfRes=0
r.EmitterSpawnRateScale=1.0
r.ParticleLightQuality=2
foliage.DensityScale=1.6
grass.DensityScale=1.6
r.NT.PMV.PixelTileSize=8
r.NT.PMV.NumDepthSlices=196
r.NT.PMV.LightInjection=2
r.NT.PMV.ShadowFilterQuality=2
r.NT.PMV.TemporalBlendMin=50
r.CompositeDynamicLights=FALSE
r.FloatingPointRenderTargets=True
r.AllowSubsurfaceScattering=TRUE
r.AllowImageReflections=TRUE
r.AllowImageReflectionShadowing=TRUE
r.MaxWholeSceneDominantShadowResolution=8192
r.ShadowTexelsPerPixel=16.000000
r.bEnableVSMShadows=true
r.bEnableForegroundShadowsOnWorld=True
r.bEnableForegroundSelfShadowing=TRUE
r.bAllowWholeSceneDominantShadows=True
r.StaticDecals=True
r.DynamicDecals=True
r.DynamicLights=True
r.DynamicShadows=True
r.bAllowLightShafts=True
r.ScreenPercentage=100
Visuals (my settings)
[SystemSettings]
r.PostProcessAAQuality=0
r.VSync=0
r.LightFunctionQuality=1
r.Shadow.MaxResolution=2048
r.MotionBlurQuality=0
r.DepthOfFieldQuality=0
r.LensFlareQuality=3
r.SceneColorFringeQuality=1
r.EyeAdaptationQuality=2
r.BloomQuality=5
r.FastBlurThreshold=100
r.Upscale.Quality=3
r.Tonemapper.GrainQuantization=0
r.LightShaftQuality=1
r.Filter.SizeScale=1
r.Tonemapper.Quality=0
r.Streaming.MipBias=0
r.MaxAnisotropy=16
r.RefractionQuality=2
r.SSR.Quality=4
r.SceneColorFormat=4
r.DetailMode=2
r.TranslucencyVolumeBlur=1
r.MaterialQualityLevel=1 ; High quality
r.SSS.Scale=1
r.SSS.SampleSet=2
r.SSS.Quality=1
r.SSS.HalfRes=0
r.CompositeDynamicLights=FALSE
r.FloatingPointRenderTargets=True
r.AllowSubsurfaceScattering=TRUE
r.AllowImageReflections=TRUE
r.AllowImageReflectionShadowing=TRUE
r.MaxWholeSceneDominantShadowResolution=1024
r.ShadowTexelsPerPixel=16.000000
r.bEnableVSMShadows=true
r.bEnableForegroundShadowsOnWorld=True
r.bEnableForegroundSelfShadowing=TRUE
r.bAllowWholeSceneDominantShadows=True
r.StaticDecals=True
r.DynamicDecals=True
r.DynamicLights=True
r.DynamicShadows=True
r.bAllowLightShafts=True
r.ReflectionEnvironment=2
r.ReflectionEnvironmentBeginMixingRoughness=0.1
r.ReflectionEnvironmentEndMixingRoughness=0.3
r.ReflectionEnvironmentLightmapMixBasedOnRoughness=1
r.ReflectionEnvironmentLightmapMixLargestWeight=1000
Visuals (Planar reflections)
r.ReflectionEnvironment=2
r.ReflectionEnvironmentBeginMixingRoughness=0.1
r.ReflectionEnvironmentEndMixingRoughness=0.3
r.ReflectionEnvironmentLightmapMixBasedOnRoughness=1
r.ReflectionEnvironmentLightmapMixLargestWeight=1000

Add to engine.ini

Credits: othon05

No idea if actually works in game.
Anti Aliasing
Disable built-in by navigating to,

C:\Users\(yourusername)\AppData\Local\Mercury\Saved\Config\WindowsNoEditor

open engine.ini,

create a section called '[system]' at very bottom.

Paste these lines under/inside it

sg.AntiAliasingQuality=0
r.PostProcessAAQuality=0

It'll look like

[SystemSettings]
sg.AntiAliasingQuality=0
r.PostProcessAAQuality=0

There is a setting for motion blur, but in case you can't disable depth of field.

r.DepthOfFieldQuality=0

insert under [systemsettings]

You may also have to set 'sg.AntiAliasingQuality=0' inside of usersystemsettings.ini. Under 'scalabilitygroups'. Directory > C:\Users\(yourusername)\AppData\Local\WB Games\Gotham Knights\Steam

My mod injects SMAA variant of edge smoothing + a slight sharpen shader to offset blurring. The end result is a clearer picture that matches what the game would look like without TAA or FXAA enabled, because these are default UE4 implementations which aren't good looking at all.

Also a chromatic aberration filter because I really like color fringe. you can disable that.

link to reshade,

https://www mediafire com/file/bmxiqpu1dwj4hv1/GK_reshade_smaa_ca.rar/file

Add the dots back between www m and e com.

Extract contents to

C:\Program Files (x86)\Steam\steamapps\common\Gotham Knights\Mercury\Binaries\Win64

Future reference, if mod stops working.. DLL update may be required.

Instructions: Download latest ReShade installer, select game executable, select dx11/12 as api, leave the two already-selected shader download options checked and press ok. you'll have a new DLL generated. Then at shader options during download, uncheck all but chromatic aberration, lumesharpen, SMAA.

'edit' probably not necessary. shows directory paths already valid on my end. but you may want to place installer in win64 as i did.
Screenies










6 Comments
Sul Nov 11, 2023 @ 2:04pm 
Is there a setting for increased LOD?
DarlingLionheart Feb 7, 2023 @ 3:05pm 
TYVM! I haven't tried this yet but if the video looks like sh*t then I will be happy I ran across your guide :D
Radium Dec 24, 2022 @ 1:02am 
bruh there is nothing
Donjuanismo Nov 16, 2022 @ 2:12pm 
Could you help us to manually change the Y AXIS to inverted? (Is there a way to alter the script to include this feature that is missing in Gotham Knights.)
Donjuanismo Nov 16, 2022 @ 2:11pm 
Could you help us to manually change the Y AXIS to inverted?
Donjuanismo Nov 16, 2022 @ 2:11pm 
I prefer using a combo f SMAA and TAA combined in most games (especially ResEvil games). It smooths out the overall alaising.