Skyrim Special Edition

File information

Last updated

Original upload

Created by

ColdBomb1

Uploaded by

coldbomb1

Virus scan

Safe to use

About this mod

Fix for blue / white border shining brightly from the edges in VR headsets when using various ENB presets.

Permissions and credits


UPDATE**
I have now added Part 2 instructions for the following ENB Presets:
  • Luminous ENB VR
  • NAT.ENB III - VR Patches
  • Rudy Zangdar ENB for Cathedral Weathers - VR Tweaks
  • Scenery ENB VR
  • The Enhancer VR ENB

Part 2 of the fixes addresses the remaining edge glow that wasn't fully resolved by the original fix.

The reason for this is that the bloom's blurring function was being processed on the bright hidden mesh pixels before enbeffect.fx, where the hidden mesh pixels are corrected from their bright colors.

The new fix applies to the bloom blurring function code to prevent accumulating the blur value on the hidden mesh.

Here are 2 examples of what Part 2 fixes will do.

Example 1:



Example 2:



==============================
Original Description below
==============================

Problem: Blue / White border shining in from all directions in VR headset when using various ENB presets.
This is caused by the hidden area mesh having its pixels / vertices being tinted by the ENB from black to a brighter color, like blue or white.

Left shows what it looks like before the fix.  Right shows with the fix.



How I have seen people fix it previously:
  • Use SteamVR's hidden stencil fix if available.  Not available for OpenComposite.  

    • This seems to paint a black layer over the hidden area mesh after all processing is finished (similar to what this fix will do, also not sure if available for all headsets)
    • This also slightly reduces your FOV as it makes the hidden area slightly bigger.
  • Disable the hidden area mesh and render the entire frame so that there is no border.  This forces you to render the whole frame which can reduce performance.




This fix: Copy code snippet in the instructions file into beginning of draw method for their pixel shaders.

What it does: Samples the depth of the pixel before processing it, and if it is part of the hidden mesh, returns the color black.

Effect: The Blue / White borders turn black and no longer shine in from the edges.

Performance impact: Almost none / not measurable.  Had the same fps in each ENB with and without the fix.
Reason likely being that any processing time added by sampling the depth is canceled out by the amount of processing time saved from the hidden mesh pixels immediately returning black instead of processing the shader.

I have provided a list of VR ENB's and the exact spots to paste the fix.

Mod download is a text file with instructions on how to fix it in general along with specific instructions for the below listed VR ENBs:
Luminous ENB VR : https://www.nexusmods.com/skyrimspecialedition/mods/197
NAT.ENB III - VR Patches : https://www.nexusmods.com/skyrimspecialedition/mods/85670
Perfect Nature - a Natural and Realistic ENB for Skyrim VR 2022 : https://www.nexusmods.com/skyrimspecialedition/mods/63125
Rudy Zangdar ENB for Cathedral Weathers - VR Tweaks : https://www.nexusmods.com/skyrimspecialedition/mods/73517
Scenery ENB VR : https://www.nexusmods.com/skyrimspecialedition/mods/35545
Sensorium of Stereoscopy - A Versatile VR ENB : https://www.nexusmods.com/skyrimspecialedition/mods/52442
Simplicity ENB VR : https://www.nexusmods.com/skyrimspecialedition/mods/81678
Skyrim VR - High Fidelity ENB By SGS : https://www.nexusmods.com/skyrimspecialedition/mods/27308
The Enhancer VR ENB : https://www.nexusmods.com/skyrimspecialedition/mods/83864