Skip to content

Commit

Permalink
fix: force disable "improved" snow shader (doodlum#728)
Browse files Browse the repository at this point in the history
* fix: force disable "improved" snow shader

* style: 🎨 apply clang-format changes

* fix: do not access setting on VR

* style: 🎨 apply clang-format changes

---------

Co-authored-by: doodlum <doodlum@users.noreply.github.com>
  • Loading branch information
doodlum and doodlum authored Nov 10, 2024
1 parent 220e084 commit a8f4e5a
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/XSEPlugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,11 @@ void MessageHandler(SKSE::MessagingInterface::Message* message)
shaderCache.WriteDiskCacheInfo();
}

if (!REL::Module::IsVR()) {
auto bEnableImprovedSnow = RE::GetINISetting("bEnableImprovedSnow:Display");
bEnableImprovedSnow->data.b = false;
}

TruePBR::GetSingleton()->DataLoaded();
for (auto* feature : Feature::GetFeatureList()) {
if (feature->loaded) {
Expand Down

0 comments on commit a8f4e5a

Please sign in to comment.