you can create one and execute it with this command when the game starts, "exec user.cfg". Alternatively, with this mod https://www.nexusmods.com/kingdomcomedeliverance2/mods/979, all .cfg files are automatically executed when you load your save
Your mod will not work without this command (below), placebo effect. It should be noted that if too many lights are visible in the field of view at the same time that cast shadows, the shadows start to flicker. That's why the developers did not activate the shadows for every light source. But only people who work with the Cryengine and have experience know such things. So it's not your fault.
variable: r_ShadowCastingLightsMaxCount REQUIRE_APP_RESTART type: int current: 12 (0-12 and higher.) help: Maximum number of simultaneously visible shadow casting lights
Searched on Google and this command were used on KCD 1 so you might be true. Also noted on various posts and mods (when searching this command) that many people recommanded 24 or even 48 to reduce flickering like this one :
Thank you, did not know this despite seeing major changes in thr woods during daytime. I will have a look at this when i get a chance and this could also be added in the CFG, so additional steps needs to be taken.
variable: e_svoTI_PointLightsMultiplier type: float current: 1 help: Modulates point light injection (controls the intensity of bounce light)
variable: e_svoTI_ForceGIForAllLights type: int current: 0 help: Force dynamic GI for all lights except ambient lights and sun This allows to quickly get dynamic GI working in unprepared scenes
variable: e_svoTI_DynLights type: int current: 1 help: Allow single real-time indirect bounce from marked dynamic lights
I originally did comparisons with r_ShadowCastingLightsMaxCount and values of 40+ (vanilla 30 for experimental) and saw absolutely no difference. Does that mean this mod is not needed if playing on experimental preset?
To know what the different graphics configurations do (Ultra, Experimental and so on), you have to look in the ->"Engine.pak".-->Config (All the presets are stored there and what exactly they do.)
Added lines to CFG, Effects on GI where not present sadly, but effects of amount of lights being able to cast was notable. Tested this by spawning a bunch of lanterns from the console.
Just add e_SvoTI_ForceGIForAllLights = 1 and r_ShadowCastingLightsMaxCount = 42 (or higher) in user.cfg or manually in console each time you lauch the game to get.
And then you could also input: e_ViewDistRatioLights = 50 or higher. e_SvoTI_numberofbounces = 2 (2 is default for GI Ultra) But if you use medium for the GI setting the game can crash if you set it from 1 to 2 in console. I usually use GI on ultra and reduce the e_SvoTI_numberofbounces to 1. An then set e_SvoTI_propogation = 1.5 / 1.75 to boost the effect.
53 comments
just open mod.manifest and changed the version to
<kcd_version>1.2.2</kcd_version>
its somehow canceld out outside of the firstperson field of view.
you can see this in fotomod or with a third person view mod.
variable: r_ShadowCastingLightsMaxCount REQUIRE_APP_RESTART
type: int
current: 12 (0-12 and higher.)
help: Maximum number of simultaneously visible shadow casting lights
https://www.nexusmods.com/kingdomcomedeliverance/mods/65?tab=posts
Note: I dont know the behavior on KCD 2 when using it, like if it will flicker or not
variable: e_svoTI_PointLightsMultiplier
type: float
current: 1
help: Modulates point light injection (controls the intensity of bounce light)
variable: e_svoTI_ForceGIForAllLights
type: int
current: 0
help: Force dynamic GI for all lights except ambient lights and sun
This allows to quickly get dynamic GI working in unprepared scenes
variable: e_svoTI_DynLights
type: int
current: 1
help: Allow single real-time indirect bounce from marked dynamic lights
Tested this by spawning a bunch of lanterns from the console.
Added instructions under install with credits.
Many thanks!
Praise our Lord Jesus Christ.
And then you could also input:
e_ViewDistRatioLights = 50 or higher.
e_SvoTI_numberofbounces = 2 (2 is default for GI Ultra) But if you use medium for the GI setting the game can crash if you set it from 1 to 2 in console. I usually use GI on ultra and reduce the e_SvoTI_numberofbounces to 1. An then set e_SvoTI_propogation = 1.5 / 1.75 to boost the effect.
try switching between high, ultra and low shadow settings
Definitely need a merge. Great mod!