Better cascade shadows
Better cascade shadows
Plain and simple INI tweak to adjust shadows distance and detalization with near zero perfomance impact.
First of all, i want to thank stoker25 for uploading extracted INI settings – without this i’ve never know what to change.
This simple tweak allow to modify Cascade shadows distance in order to get more detailed shadows. Perfomance impact is quite negligeable.
1. Go to CP 2077 install dir/engine\config\platform\pc.
2. Create a file named user.ini (or you can get any of .ini files in directory, copy and rename it, then past back under a new name).
3. Open your file, type or past:
[Rendering/Shadows]
CascadeRange0 = 12.000000
CascadeRange1 = 30.000000
CascadeRange2 = 75.000000
CascadeRange3 = 140.000000
4. Save file and start the game.
Comparison 1
Comparison 2
All values in this file is my personal preferences, you can change them freely, but remember: it’s a shadow map with fixed resolution, so don’t stretch them too far – otherwise you loose details. I recommend to use “High” Cascade map resolution in game options.
CascadeRange0 – the closest to player and most detailed shadow map.
CascadeRange1,2 and 3 – shadow maps for more far distances, accordingly.
In Files section you can find my user.ini file.
If you want to modify only detailed shadow distance, you can stop at CascadeRange0:
[Rendering/Shadows] CascadeRange0 = 12.000000 (or 15.000000)Before/After comparison
Original INI values are:
CascadeRange0 = 6.000000
CascadeRange1 = 20.000000
CascadeRange2 = 50.000000
CascadeRange3 = 100.000000
If you want to revert back to vanilla shadows, just delete user.ini file.