Lightspeed 2.0.14 (Fabric 1.20.1)
Curse Maven Snippet
What's new
English
- Fix black or darkened terrain mipmap bands on packs with non-power-of-two textures when mipmap lowering is disabled (such as Forge's default
allowMipmapLowering = false):SpriteLoaderMipmapMixinnow dispatches parallel mipmap generation using the exact mip level and stitched sprite map passed intoSpriteLoader.Preparationsrather than recomputing vanilla power-of-two clamping. - Fix OpenGL
GL_INVALID_VALUE(ObjectLabel: unknown shader object) errors under Iris/Oculus debug mode when restoring cached shader program binaries: allocate lightweight uncompiled OpenGL shader handles for binary-restoredShaderInstancestages and release them once onProgram#close()without breaking the zero-compile restore path. - Fix stale
.lspiPackImage generation file accumulation: prune obsolete generations immediately afterPackImageFile#write()atomically advances.current, isolate per-fileIOExceptionfailures insidecleanupGenerationsso a locked generation on Windows does not abort deleting other obsolete files, and validate PackImage checksums, headers, and fingerprints before memory-mapping.
中文
- 修复禁用 Mipmap 降级(例如 Forge 默认
allowMipmapLowering = false)且整合包包含非 2 次幂纹理时远近景地表出现灰黑带的问题:SpriteLoaderMipmapMixin改为直接沿用传入SpriteLoader.Preparations的实际mipLevel与精灵表派发并行 Mipmap,不再按原版公式重新截断层级,确保高阶 Mipmap 完整生成并上传。 - 修复开启 Iris/Oculus 调试模式时,命中着色器二进制缓存引发 OpenGL
GL_INVALID_VALUE(ObjectLabel: unknown shader object)报错的问题:为二进制恢复命中的ShaderInstance阶段分配轻量的未编译 OpenGL 着色器对象句柄,并在Program#close()时单次释放,完整保留零编译缓存命中路径。 - 修复 Bootstrap 缓存
.lspi旧代镜像文件持续堆积的问题:在PackImageFile#write()原子更新.current指针后立即回收旧代;将cleanupGenerations改为逐文件隔离IOException,避免 Windows 上首个被占用旧代中断其余旧文件清理;并在内存映射前完成摘要、文件头与指纹校验。
This mod has no additional files

