We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c3b7009 commit f0ce39aCopy full SHA for f0ce39a
1 file changed
src/dllmain.cpp
@@ -372,7 +372,7 @@ void SetCVARs()
372
}
373
374
// r.Shadow.Virtual.Enable
375
- if (cvarVSMEnable && (cvarVSMEnable->GetInt() != (int)bVirtualShadowmaps)) {
+ if (cvarVSMEnable && bVirtualShadowmaps && (cvarVSMEnable->GetInt() != 1)) {
376
cvarVSMEnable->Set(std::to_wstring(bVirtualShadowmaps).c_str());
377
spdlog::info("CVar: r.Shadow.Virtual.Enable: Set to {}", cvarVSMEnable->GetInt());
378
0 commit comments