You are viewing a potentially older version of this package. View all versions.
Helix128-ShadowFix-1.0.6 icon

ShadowFix

Enable dynamic shadows in-game.

Date uploaded 9 months ago
Version 1.0.6
Download link Helix128-ShadowFix-1.0.6.zip
Downloads 84
Dependency string Helix128-ShadowFix-1.0.6

This mod requires the following mods to function

BepInEx-BepInExPack_IL2CPP-6.0.738 icon
BepInEx-BepInExPack_IL2CPP

BepInEx pack for IL2CPP x64 Unity games. Preconfigured and ready to use.

Preferred version: 6.0.738

README

ShadowFix

Megabonk mod which enables Unity's dynamic shadows in-game

Why?

Megabonk has dynamic shadow quality settings in the menu:

imagen

Those settings work just fine for the shadows in the main menu:

imagen

However, there are no shadows in-game!

imagen

This could have been an artistic decision or maybe something done for better performance, but with this mod at least you have a choice.

imagen

Mod settings

The mod has 5 settings in its config file (located at (GameDirectory)/BepInEx/config/ShadowFix.cfg)

DisableBlobShadow (DEFAULT: True)

Disable the player circle (blob) shadow.

EnablePlayerShadow (DEFAULT: True)

Enable dynamic shadows for the player.

Note: You can have both of them on or off at the same time without issues.

TwoSidedShadows (DEFAULT: True)

Makes it so scene objects have two-sided shadow rendering. Fixes some shadow artifacts mostly present on Desert houses.

EnableNPCShadows (DEFAULT: False)

Enable shadows for enemies. Disabled by default because it has a few small visual artifacts when enemies die and it's not recommended for low end devices.

ShadowDarkness (DEFAULT: 0.8)

Darkness of the dynamic shadows.

CHANGELOG

1.1.2

  • NPC shadows are now enabled by default. You can still disable them through the config file.
  • Enemy dissolve effect now properly has no shadows and no SSAO (this is an issue still present in the base game).

1.1.1

  • Fixed player blob shadow being visible for a split second when spawning when DisableBlobShadow is enabled.

1.1.0

  • MAJOR code revision, reimplemented most stuff in a much safer way.
  • Fixed crashes present in 1.0.x.

1.0.0 - 1.0.6

  • If you currently have one of these versions and experience crashes when restarting or starting a run, please update to 1.1.x or higher because my code for those versions was quite trash and any missing object reference crashed the game.