Skip to content

Occlusion Culling 1.2.2

Choose a tag to compare

@mrfury97 mrfury97 released this 29 Oct 05:03
· 2 commits to main since this release

Occlusion Culling 1.2.2 fixes the cause of blinking walls and fixes flickering lights. Updating is recommended.

Fixes

  • Blinking walls, fixed at the cause: the box tested for an object is measured from its own vertices, so it was exactly tight. For a flat piece seen face-on (vault room walls, hall pieces, tables) the side of the box facing the camera lay right on the visible surface; the box and the wall then had the same depth, the test counted the box as covered by its own wall, and the wall blinked. Those boxes are now padded by 4 units. The affected pieces are culled normally again instead of being left out by 1.2.1's guard.
  • Flickering lights: with lamp culling on, lamps whose lit area was only just visible (a sliver through a doorway or past a corner) could switch off and on every few frames, relighting everything around them. A lamp is now switched off only after 6 covered answers in a row, and once it comes back on it stays on for at least 45 frames (0.75 s).
  • Flicker guard: it now only catches the exact blinking rhythm (hidden at most 2 frames, hidden again within 4 frames, 8 times within 2 seconds), so it no longer gives up on objects while you look around. It stays as a safety net.

Install

Requires Fallout: New Vegas 1.4.0.525 and xNVSE. Install the zip with your mod manager, or copy nvse\plugins\OcclusionCulling.dll and OcclusionCulling.ini into Data\NVSE\Plugins\. To update from 1.2.0 or 1.2.1, replacing the DLL is enough; the INI is unchanged.

Source code and full documentation are in this repository. Licence: GPL-3.0.