How do I set a command line variable back to its default value?

I’ve entered “r.Shadow.FadeExponent” into the console by mistake and I just want to know the default value so I can reset it. Is there a way for me to see edited variables or reset the variable to its default value?

Why does this have no answer?

Wondering the same thing. I want to revert r.HZBOcclusion back to it’s default setting, I don’t know what it was though.

Same question here. Is there a command to set specific commands-line-commands back to default, so they do not prompt the following anymore:
“Setting the console variable ‘xxx’ with ‘SetByScalability’ was ignored as it is lower priority than the previous ‘SetByConsole’. Value remains ‘X’”

How it is possible to command-line-command back to “default” and “not overwrite with last command line” command anymore?
With “set back to default” I mean, to set the value back to related scalability settings value.

Having the same exact problem with dlss. Dlss overrides the screen percentage after it is dibbled and the screen percentage is left at where dlss set it. I try to set it to different percentage with set resolutionscale and I get the same error. How did you set it back in your condition.

@anonymous_user_8c806efd1

Searching through the code i found that the default value for r.Shadow.FadeExponent is 0.25, as you can see in the following declaration where the second argument is the default value

static TAutoConsoleVariable<float> CVarShadowFadeExponent(
	TEXT("r.Shadow.FadeExponent"),
	0.25f,
	TEXT("Controls the rate at which shadows are faded out"),
	ECVF_RenderThreadSafe);

hmmm I can not even set it back to its default value…