Hattiwatti/Dimmer

A small mod for Beat Saber that allows you to dim down the environment

★ 0Forks 0C#GitHub ↗Compare

README

Dimmer

A very simple Beat Saber mod that adds a modifier tab for dimming the in-game environment. Useful when the light show is too intense, and you don't want to use boring static lighting.

Dimmer works by modifying the camera culling mask to first render everything except layers we don't want to dim (UI, sabers, blocks, walls etc.) After rendering, a black transparent overlay is drawn on top and then another camera is used to draw the layers that were excluded.

The modifier tab allows you to

  • Turn the dimmer on or off
  • Change the opacity of the dimmer overlay
  • Enable rendering dimmer in Camera2 views

There is a small performance hit from having to use an extra camera to render the different layers, possibly due to the extra BloomPrePass component that is running. This cost seems to be lower when running with legacy multi-pass rendering enabled (can be toggled with AssetBundleLoadingTools)

Dependencies:

  • BeatSaberMarkupLanguage
image

Comparison between 0, 0.5, 0.75, 0.90 and 1.0 opacity

0 50 75 90 100

Contributors

Hattiwatti

Issues