File Details
embeddium-0.3.32-beta.9999+mc1.20.1.jar
- R
- Jan 9, 2026
- 1.26 MB
- 281
- 1.20.1
- Forge
File Name
embeddium-0.3.32-beta.9999+mc1.20.1.jar
Supported Versions
- 1.20.1
Curse Maven Snippet
Changelog - Attempt at Sodium 0.6+ Optimizations and Improvements Backport
Rendering Improvements
- Fence sync fix: Use
glClientWaitSyncfor proper CPU-side synchronization - Angle-based occlusion masking: Improved culling based on camera angle
- Model extent bounds expansion: Expand bounds by 1 block to prevent clipping of large models
- Light value clamping: Clamp to 8-248 range for GPU compatibility
- Nearby section capture: Ensure sections near camera with large models aren't culled
Memory Management
- Buffer pool reuse: Cache up to 8 GL buffers for reuse instead of constant allocation/deallocation
- Adaptive arena growth: Smart capacity estimation based on segment statistics
- 64-bit buffer offsets: Address up to 4GB (doubled from ~2GB) using unsigned 32-bit semantics, reducing fragmentation at high render distances
Upload Optimization
- Staging buffer limits: Added
getUploadSizeLimit()API for frame stall prevention - Fence cleanup: Fixed fence cleanup in staging buffer
delete()method
Batch Caching
- Per-region batch caching: Cache draw command batches per-region
- Incremental rebuild: Only rebuild batches when visible sections change
- Reduced CPU overhead: Less time spent building command buffers each frame
Chunk Builder Task Prioritization
- Camera-direction weighting: Chunks in front of camera mesh first (dot product ordering)
- Priority queue scheduling: Replaced FIFO with heap-based priority queue
- Update type priority: IMPORTANT_REBUILD > IMPORTANT_SORT > REBUILD > INITIAL_BUILD > SORT
- Reduced pop-in: Visible geometry appears before off-screen chunks