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.
Unless "Use vanilla lighting for path blocks" is enabled, this lighting will not be 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%. Won't affect path blocks if "Use vanilla lighting for path blocks" is on. 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 on path blocks. If used on a version before 4.x.x, requires Indium and Fabric API (or Quilted Fabric API if using Quilt) to enable. 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)
All Versions
+ Add Version| Name | Game version | Platforms | Published | Downloads | Actions |
|---|---|---|---|---|---|
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 | ||||
| 2d ago | 1 |
### New:
- Added es_es (Spanish (Spain)) localization (by @C4BR3R4)
- Added ms_my (Malay) and zlm_arab (Malay (Jawi)) localization (by @NuruddinPlays)
### New:
- Added es_es (Spanish (Spain)) localization (by @C4BR3R4)
- Added ms_my (Malay) and zlm_arab (Malay (Jawi)) localization (by @NuruddinPlays)
### New:
- Added es_es localization (by @C4BR3R4)
- Added uk_ua localization (by @StarmanMine142)
### Changes:
- Update zh_cn localization from zh_tw (@mrjasonn)
- (When using Sodium 0.8.12+) Shadowyness slider is now disabled when "Only affect path blocks" and "Use vanilla lighting for path blocks" are enabled, as it has no effect with those two options enabled.
### New:
- Added es_es localization (by @C4BR3R4)
- Added uk_ua localization (by @StarmanMine142)
### Changes:
- Update zh_cn localization from zh_tw (@mrjasonn)
- (When using Sodium 0.8.12+) Shadowyness slider is now disabled when "Only affect path blocks" and "Use vanilla lighting for path blocks" are enabled, as it has no effect with those two options enabled.
### New:
- Added uk_ua localization (by @StarmanMine142)
### Changes:
- Update zh_cn localization from zh_tw (suggested by @mrjasonn)
### Bug Fixes:
- When vanilla smooth lighting is enabled, it will now apply to all sides of dirt paths instead of just the top, making it more accurate for custom models
### New:
- Added uk_ua localization (by @StarmanMine142)
### Changes:
- Update zh_cn localization from zh_tw (suggested by @mrjasonn)
### Bug Fixes:
- When vanilla smooth lighting is enabled, it will now apply to all sides of dirt paths instead of just the top, making it more accurate for custom models
### Changes:
- Shadowyness slider is now disabled when "Only affect path blocks" and "Use vanilla lighting for path blocks" are enabled, as it has no effect with those two options enabled.
### Changes:
- Shadowyness slider is now disabled when "Only affect path blocks" and "Use vanilla lighting for path blocks" are enabled, as it has no effect with those two options enabled.
- Fixed a crash (java.lang.ArrayIndexOutOfBoundsException) that could occur while using the "Use vanilla lighting for path blocks" option
- Fixed a crash (java.lang.ArrayIndexOutOfBoundsException) that could occur while using the "Use vanilla lighting for path blocks" option
This means that you can probably run it with a Sodium fork like Embeddium, and probably on Forge too, with Sinytra Connector. That being said, I make no compatibility guarantees. If something isn't working properly running SSPB with a Sodium fork, I probably won't fix it.
Updated for Sodium 0.6.2
### New:
- Added Turkish (tr_tr) localization (by [MissionWAR](https://github.com/MissionWAR)).
Updated for Sodium 0.6.2
### New:
- Added Turkish (tr_tr) localization (by [MissionWAR](https://github.com/MissionWAR)).
### New:
- Added Brazilian Portuguese (pt_br) localization (by [FITFC](https://github.com/FITFC)).
### New:
- Added Brazilian Portuguese (pt_br) localization (by [FITFC](https://github.com/FITFC)).
- 3D models for solid blocks no longer overly dark when rendering with indium
- Now works with Sodium 0.6.0-beta.1 (and incompatible with versions 0.5.x and below)
- Indium and Fabric API are no longer required to toggle "Use vanilla lighting for path blocks"
- Toggling "Use vanilla lighting for path blocks" no longer reloads assets (it toggles faster now!)
- NeoForge version!
- Now works with Sodium 0.6.0-beta.1 (and incompatible with versions 0.5.x and below)
- Indium and Fabric API are no longer required to toggle "Use vanilla lighting for path blocks"
- Toggling "Use vanilla lighting for path blocks" no longer reloads assets (it toggles faster now!)
<ul>
<li>"Shadowyness" slider now works on blocks with modded rendering (such as blocks with connected textures).
<ul>
<li>This only applies if "ambient-occlusion-mode" is set to "auto" or "enhanced" in ".minecraft/config/indium-renderer.properties", but "auto" is the default value, so if you didn't touch that file, you should be fine.</li>
</ul>
</li>
<li>"Use vanilla lighting for path blocks" option can now be toggled when path blocks are using modded rendering.</li>
<li>Some optimizations (with help from <a href="https://github.com/rhysdh540">rhysdh540</a>)</li>
<li>Added Traditional Chinese (zh_tw) localization (by <a href="https://github.com/yichifauzi">yichifauzi</a> and <a href="https://github.com/notlin4">notlin4</a>).</li>
<li>Update Mod Menu entry.</li>
<li>Now explicitly incompatible with Sodium 0.6.0 versions.</li>
</ul>
<ul>
<li>Added es_mx localization (by <a href="https://github.com/TheLegendofSaram">TheLegendofSaram</a>)</li>
</ul>
<h3>Bug Fixes:</h3>
<ul>
<li>Fixed "Use vanilla lighting for path blocks" option not working in MC 1.21</li>
</ul>
<h3>New:</h3>
<ul>
<li>Added ru_ru localization (by <a href="https://github.com/mpustovoi)">mpustovoi</a>)</li>
<li>Updated some en_us settings tooltips</li>
<li>Made some tiny optimizations</li>
</ul>
<h3>Bug Fixes:</h3>
<ul>
<li>Fixed "use vanilla lighting for path blocks" option not being vanilla accurate</li>
</ul>
<ul>
<li>Updated zh_cn localization (by <a href="https://github.com/7777777-4547">7777777-4547</a>)</li>
</ul>
<ul>
<li>When Indium and Fabric API are installed, you can now enable "vanilla lighting" for path blocks. This gives path blocks vanilla-accurate lighting, but disables the effect of the shadowyness slider on them.</li>
<li>This "vanilla lighting" is force-enabled when there is modded path block rendering (such as connected textures). This fixes path blocks not being shadowy when using this mod.</li>
</ul>
<h3>New:</h3>
<ul>
<li>Updated zh_cn localization (by <a href="https://github.com/7777777-4547">7777777-4547</a>)</li>
</ul>
<h3>New:</h3>
<ul>
<li>Updated zh_cn localization (by <a href="https://github.com/7777777-4547">7777777-4547</a>)</li>
</ul>
<ul>
<li>Option to have the lighting changes only affect path blocks</li>
</ul>
<p>First release on Modrinth. If you want older versions for some reason, they're on curseforge and github</p>
<ul>
<li>Option to have the lighting changes only affect path blocks</li>
</ul>
<p>First release on Modrinth. If you want older versions for some reason, they're on curseforge and github</p>