fumiko-CullFactory icon

CullFactory

Stops rendering interior rooms that aren't visible - Helps with performance without affecting visuals.

Last updated 2 weeks ago
Total downloads 1053288
Total rating 49 
Categories Mods BepInEx Client-side
Dependency string fumiko-CullFactory-1.1.1
Dependants 690 other packages depend on this package

This mod requires the following mods to function

BepInEx-BepInExPack-5.4.2100 icon
BepInEx-BepInExPack

BepInEx pack for Mono Unity games. Preconfigured and ready to use.

Preferred version: 5.4.2100

README

Banner

Note: Performance gains may vary between devices. Feel free to give it a try and experiment with different options!

Overview

  • Stops objects that are not visible, or are too far from the camera, from being rendered.
    • Interior rooms, items, and lights will be culled.
    • The default settings are designed to allow zero visual artifacts or popping.
  • Compatible with any mods that add cameras.

Culling Methods

Portal Occlusion Culling

The default culling method, this is intended to hide all objects that are not visible to a camera without affecting visuals. It does so by recursively checking which other tiles are visible to the camera through doorways and connecting pathways between tiles in the interior.

Note for developers: The Doorway.Socket.Size field is used to determine the bounds of every doorway in the interior. If the size does not encompass the entirety of the possible visible portions of the next tile, then neighboring tiles will pop out of visibility when they shouldn't.

Depth Culling

This is a more naive method that will make tiles visible that are separated from the camera by a certain number of tiles. It may result in hallways becoming invisible in view of the camera.