diff --git a/data/update/TBoGT/common/data/frontend_menus.xml b/data/update/TBoGT/common/data/frontend_menus.xml index e6dd3c4f..e40c63fc 100644 --- a/data/update/TBoGT/common/data/frontend_menus.xml +++ b/data/update/TBoGT/common/data/frontend_menus.xml @@ -365,13 +365,13 @@ - + - + @@ -386,12 +386,12 @@ - + - + @@ -579,6 +579,9 @@ + diff --git a/data/update/TLAD/common/data/frontend_menus.xml b/data/update/TLAD/common/data/frontend_menus.xml index 54a6c42d..e93ce804 100644 --- a/data/update/TLAD/common/data/frontend_menus.xml +++ b/data/update/TLAD/common/data/frontend_menus.xml @@ -441,13 +441,13 @@ - + - + @@ -462,12 +462,12 @@ - + - + diff --git a/data/update/common/data/frontend_menus.xml b/data/update/common/data/frontend_menus.xml index e3dc807d..8cea0ca8 100644 --- a/data/update/common/data/frontend_menus.xml +++ b/data/update/common/data/frontend_menus.xml @@ -293,14 +293,14 @@ - + - + @@ -316,13 +316,13 @@ - + - + @@ -501,6 +501,7 @@ + diff --git a/source/shaders.ixx b/source/shaders.ixx index db9b7112..cf5cde97 100644 --- a/source/shaders.ixx +++ b/source/shaders.ixx @@ -114,13 +114,27 @@ public: pDevice->SetVertexShaderConstantF(227, &arr[0], 1); } - // DynamicShadowForTrees Wind Sway, More Shadows + // DynamicShadowForTrees Wind Sway, More Shadows, Bloom and Noise { static float arr2[4]; arr2[0] = Natives::IsInteriorScene() ? 0.0f : *dw11A2948; arr2[1] = static_cast(bMoreShadows); - arr2[2] = 0.0f; - arr2[3] = 0.0f; + + switch (FusionFixSettings.Get("PREF_BLOOM")) + { + case FusionFixSettings.BloomText.eCross: + arr2[2] = 1.0f; + break; + case FusionFixSettings.BloomText.eCircle: + arr2[2] = 2.0f; + break; + case FusionFixSettings.BloomText.eOff: + default: + arr2[2] = 0.0f; + break; + } + + arr2[3] = static_cast(FusionFixSettings.Get("PREF_EPISODIC_NOISE_FILTER")); pDevice->SetVertexShaderConstantF(233, &arr2[0], 1); }