
Complex Leaf Culling
Multi-tier leaf culling for Sodium. Block cancellation, pass demotion, and face culling for dense modded forests (WWOO, etc.).
Screenshots

Über diese Mod
Complex Leaf Culling
A multi-tier leaf culling mod for Minecraft 1.21.1 (Fabric + Sodium), designed for modpacks with dense foliage from mods like William Wyther's Overhauled Overworld (WWOO) where vanilla culling leaves significant performance on the table.
NOTE:
I've tested this locally on a heavily modded (300+ mods) instance, and have had others with differing computer specs test it as well. It has thusfar worked without issue, but that doesn't mean there may not be some problems. This has been made as compatible as I can personally manage, but for those with bigger brains than I have they can fork it and modify it as needed. I'm a new dad, so I may not be the one to swiftly fix issues or extend its compatibility.
What it does
Complex Leaf Culling applies three independent culling strategies that complement each other:
Standard Leaf Culling (Tier 1 - all renderers)
Marks shared faces between adjacent leaf blocks as invisible during mesh building. Works for all leaf blocks and cooperates directly with Sodium's occlusion system. This is what most culling mods do.
Extended Leaf Culling (Tier A - Sodium only)
Cancels rendering entirely for interior leaf blocks that are fully surrounded by other leaves. Zero geometry is generated for these blocks. Most effective in dense WWOO canopies and other modded forests where standard culling misses blocks it doesn't recognise.
Edge Pass Demotion (Tier B - Sodium only)
Leaf blocks on the edge of a canopy that partially qualify (one neighbour below the cancel threshold) are demoted from expensive translucent rendering to cheaper cutout rendering. Leaf shapes are fully preserved - only the render pass changes. Most noticeable with shader packs like Iris where translucent geometry is disproportionately expensive.
Requirements
- Minecraft 1.21.1
- Fabric Loader >= 0.16.0
- Fabric API
- Sodium - NOTE: Tested with version 0.6.13. Newer/older versions may not work if hooks have moved/changed internally.
Recommended
- Iris Shaders - Tier B pass demotion gives the most visible benefit with shaders active
- ModMenu - provides access to the in-game config screen
Configuration
Open the config screen via ModMenu, or use the /clc command in-game:
/clc status
/clc reload
/clc set enabled true|false
/clc set mode CONSERVATIVE|BALANCED|AGGRESSIVE
/clc set threshold 0-6 (0 = auto from mode)
/clc set standardCulling true|false
/clc set extendedCulling true|false
/clc set passDemotion true|false
/clc set extendedDetect true|false
Culling Modes
| Mode | Neighbours Required | Description |
|---|---|---|
| CONSERVATIVE | 6/6 | Only perfectly buried blocks. Safest visuals. |
| BALANCED | 5/6 | Good balance of performance and appearance. Default. |
| AGGRESSIVE | 4/6 | Maximum performance. Slight edge thinning possible. |
Extended Leaf Detection - when enabled, blocks whose registry path contains leaf, leaves, or foliage are treated as leaves even if not tagged minecraft:leaves. Required for full WWOO compatibility.
Compatibility
| Mod | Status |
|---|---|
| Sodium 0.6.x | Required |
| Iris | Full compatibility, Tier B most effective here |
| Distant Horizons | No interaction (DH handles its own LOD geometry) |
| C2ME | Compatible |
| EntityCulling | Separate concern, no conflict |
| MoreCulling | Complementary - covers different block types |
| SodiumLeafCulling | Redundant - both target the same pipeline. Use one or the other. |
| WWOO | Primary use case |
Performance notes
All culling work happens during chunk mesh building on Sodium's worker threads - not during rendering. There is no per-frame CPU cost. The performance benefit is realised when chunks are built or rebuilt (world load, block changes, F3+A, or saving settings).
Building from source
git clone https://github.com/YOUR_GITHUB_HERE/complex-leaf-culling
cd complex-leaf-culling
# Place sodium-fabric-0.6.x+mc1.21.1.jar in libs/
./gradlew build
The built jar will be in build/libs/.
License
MIT - free to fork, modify, and redistribute with attribution. See LICENSE.
Verfügbare Versionen
Complex Leaf Culling auf deinem Client installieren
Mod-Loader lokal installieren
Installiere fabric für deine lokale Minecraft-Version.
Passende Datei herunterladen
Wähle die Complex Leaf Culling-Datei für fabric und Minecraft 1.21.11.
Mod installieren
Lege die .jar-Datei in deinem lokalen .minecraft/mods-Ordner ab und starte Minecraft neu. Eine Installation auf dem Server ist nicht nötig.
Kompatibilität
Mod-Loader
Minecraft-Versionen
1.21.11, 1.21.10, 1.21.9 (+8 weitere)
Server-seitig
✗ Nicht unterstütztEmpfohlener RAM
4 GB(min. 3 GB)Häufige Fragen
Muss Complex Leaf Culling auf dem Minecraft Server installiert werden?
Nein. Modrinth kennzeichnet Complex Leaf Culling serverseitig als nicht unterstützt. Installiere die Mod nur im lokalen Minecraft-Mods-Ordner. Dein Server kann unverändert bleiben, sofern die Mod-Seite keine zusätzliche Abhängigkeit nennt.
Welche Version und welchen Loader braucht Complex Leaf Culling?
Nutze eine Datei für fabric und exakt deine Minecraft-Version. Unterstützte Versionen sind unter anderem 1.21.11, 1.21.10, 1.21.9. Loader-Dateien sind nicht untereinander austauschbar.
Complex Leaf Culling funktioniert nicht – was kann ich prüfen?
Prüfe zuerst Minecraft-Version, Loader-Version und erforderliche Abhängigkeiten. Lege die .jar-Datei im lokalen .minecraft/mods-Ordner ab und entferne ältere Duplikate. Da die Mod clientseitig ist, löst mehr Server-RAM dieses Problem nicht.
Ähnliche Mods
Minecraft Server für deine Gruppe
Complex Leaf Culling bleibt auf deinem Client. Hoste dazu eine kompatible Welt für deine Mitspieler.