Is there any way to decrease the shadow quality in game, without losing volumetric fog? I want the player to be able to set the shadow quality to low but I don’t want the volumetric fog to possibly be disabled.
As I know, maybe I’m wrong - shadow and volumetric fog are different features. You can disable shadows and you will still have volumetric fog if set.
That is for the editor. What I need is to make the project have dynamic shadows and volumetric fog, and when the player is playing the packaged game of this project they should be able to lower the shadow quality down to low, and the volumetric fog should stay the same. Normally this is not that way. The volumetric fog is bound to the shadow quality.
Instead of using the console command
sg.ShadowQuality 1
Break it down to its individual commands
- r.ShadowQuality=2
- r.Shadow.CSM.MaxCascades=1
- r.Shadow.MaxResolution=1024
- r.Shadow.RadiusThreshold=0.05
- r.Shadow.DistanceScale=0.7
- r.Shadow.CSM.TransitionScale=0.25
This seems to be a workaround of the issue. You can see all the required commands for each quality setting here
https://docs.unrealengine.com/en-US/TestingAndOptimization/PerformanceAndProfiling/Scalability/ScalabilityReference/index.html#shadows-sg.shadowquality
Seems like a good workaround, thank you.