Sodium Shadowy Path Blocks

Sodium Shadowy Path Blocks

Mod

Reintroduces vanilla-like smooth lighting to non-full blocks (e.g. dirt paths and how they have dark shading when directly next to a full block) when using Sodium.

Client Decoration

511.2k downloads
388 followers
Created2 years ago
Updated6 months ago

Follow Save
Host your Minecraft server on BisectHosting - get 25% off your first month with code MODRINTH.

Sodium Shadowy Path Blocks (SSPB)

Sodium Shadowy Path Blocks (or SSPB for short) is an addon to Sodium that reintroduces vanilla-like smooth lighting to non-fluid non-full blocks (e.g. dirt paths and how they have dark shading when directly next to a full block), as Sodium removes this (or rather, fixes this, as it's technically a bug).

This was mainly made because I liked the shadowyness of the vanilla dirt paths, hence the name.

This lighting is not exactly the same as vanilla, only vanilla-like, as the way I'm doing this is entirely based on Sodium's smooth lighting code.

Requires Sodium (duh) and only has an effect with smooth lighting enabled.

Not associated with Sodium or CaffeineMC.

Options

  • Shadowyness: How strong these "bugged" shadows are from 0-100%. Defaults to 85%.
  • Only affect path blocks: This lighting "bug" (both in vanilla and this mod) also affects other non-full blocks, such as farmland, slabs, stairs, fences, etc. Turn this setting on to only apply the "bugged" lighting to path blocks, and use sodium's fixed lighting for everything else. Defaults to off.
  • Use vanilla lighting for path blocks: Use a vanilla-accurate algorithm to render path block lighting, rather than a modified version of Sodium's lighting algorithm. Will disable the effect of the "Shadowyness" option. Will be force-enabled if there is modded path block rendering present (such as connected textures). Requires Indium and Fabric API (or Quilted Fabric API if using Quilt) to enable. Otherwise defaults to off.

Incompatibilities

  • On MC versions before 1.19, when using any mod that renders path blocks with Indium (for example, mods that give path blocks connected textures), they will not become shadowy with this mod. The lighting changes, however, still work on other blocks, and the game will still launch.
    • If you still want shadowy path blocks: Go to .minecraft/config/indium-renderer.properties and change "ambient-occlusion-mode=auto" to "ambient-occlusion-mode=hybrid". You will no longer need SSPB after this unless you still want the lighting changes for blocks other than path blocks. Note that if you keep SSPB installed, the shadowyness option will still have no effect on path blocks. The shading for path blocks will look like the vanilla screenshots below, rather than the SSPB screenshots, regardless of whether or not SSPB is installed.

Screenshots/Comparisons

(using all default options)

Comparison on a fancy path

(and also some bamboo)

Comparison on a simple path

(and also some fences)

External resources



Project members

Rynnavinx

Owner


Technical information

License
LGPL-3.0-only
Client side
required
Server side
unsupported
Project ID