Cyberpunk 2077

File information

Last updated

Original upload

Created by

romelsalwi

Uploaded by

romelsalwi

Virus scan

Safe to use

About this mod

Raytracing optimized setting for CP2077. Tested on v1.06

Permissions and credits
This mod is made with an intention to make the game playable with RT settings. I did a little reading around and come up with these settings.

INSTALLATION: Copy the file in \Cyberpunk 2077\engine\config\platform\pc. To UNINSTALL simply delete the file.

Don't forget to endorse this mod chooms

For non-RT related optimization, check out this mod

Few things you should be aware of and should tweak if you so desire:

  • GeometryUpdateBufferSizeMB and ScratchBufferSizeMB are buffers for the data used by the RT engine (excluding the engine itself). You are basically allocating space for these buffers. I have no clue how much internally it is being used by the engine. But I saw some improvement when I increased them from defaults. Recommended usage will be to give more buffer for geometry. Don't forget to leave available space for RT engine itself.
  • It would lag a bit while you try to view your V in the mirror (at least I do as I'm using DLSS with MirrorScaling enabled) . So be careful while setting your VRAM budget. Leave space for other resources too!

  • If you want higher quality reflections then set EnableHalfResolutionTracing = false and ResolutionScaleEnable = -1
  • There is a possibility that few scene might not look as intended by the artist/devs as this mod basically cuts back on the number of RT lights influencing the shaders. If you come across such a scene, Please share a screenshot with me, and how it is supposed to look.

  • Besides the optimization, You do need good amount of RT cores. You won't see much improvement in frame time if you don't have enough or already slugging without RT on.
  • My recommended usage will be to use RT reflection only. As the game engine itself has good set of implementation of lighting, GI and shadows.

Default Values:

GeometryUpdateBufferSizeMB = 64
ScratchBufferSizeMB = 32

TracingRadius = 200.000000
TracingRadiusReflections = 2000.000000
VisibilityCullingRadius = 2000.000000
VisibilityFrustumOffset = 200.000000
DeflickerStrength = 0.100000

AmbientOcclusionRadiusFar = -1.000000
AmbientOcclusionRadiusNear = -1.000000

DynamicInstanceUpdateBatchSize = 128
DynamicInstanceUpdateNumMax = 32

LocalLightNumMax = 32
LightGridSize = 32
LocalLightBatchSize = 16

TransparentReflectionEnvironmentBlendFactor = 1.000000

ResolutionScale = 1.000000
ResolutionScaleNormalFactor = 1.000000

RoughnessThreshold = 0.990000
AccumulationSpeed = 0.100000 (for reflection)
FilterRadius = 128.000000

RECOMMENDATION:

  • increase DynamicInstanceUpdateNumMax to reduce flicker but at cost of increased frame time. Keep it as low as possible. If you planning to use only RT reflections, set it to 1. If you are planning to use Lighting too, then it should be at a minimum of 8. The higher this value is more gorgeous and responsive the game looks.
  • If you are having issue in deciding how much GeometryUpdateBufferSizeMB  and  ScratchBufferSizeMB should be, you can simply delete those lines and they will default to their original values (unless you are using any other mod which modifies them). I added these settings in mod because I saw an improvement in frame timings.
  • Even if you are on SSD, use Slow Hard Disk Mode! Helps a lot in performance.
  • When you decide to turn on RT, the basic RT engine is still running whether you utilize the derived features or not. I'm adding a separate update called Optimized RT v2 which would enable you to use all the available features even on lower samples/settings of RT.

  • For people who simply want to use RT for reflections, I have Optimized RT v1.1, which is exclusively optimized for RT reflections.

EVEN AFTER USING THESE OPTIMIZATIONS YOU ARE NOT GETTING ANY SUBSTANCIAL DIFFERENCE THEN PLEASE DON'T COMPLAIN TO ME. YOU CAN PLAY THE GAME WITHOUT RT. IF YOU SEE ANY VISUAL ISSUE (NOT BUGS) DUE TO THIS MOD THEN LET ME KNOW.

I Have a 2070 SUPER with a Ryzen 3500. My CPU bottlenecks a lot (only while driving and buggy locations) but due to these optimizations and few other mods, I have been able to get a smoother experience.

Please inform me of any issues/bugs you come across.