跳到正文

Lambent Lib

作者:Raiiiden

A rendering library for dynamic lights, shadows, and advanced lighting effects

收藏

介绍

中文介绍正在准备中,下面暂时显示原文。

Lambent Lib

A client-side lighting library for Minecraft mods.

Minecraft

Forge NeoForge

Lambent provides dynamic lighting for other mods. It handles the rendering; the mods using it decide where lights come from, when they appear, and how they behave.

It does not add any lights by itself.

Lighting

Lambent currently supports several types of lights:

  • Spot lights: Directional beams used for things like headlights and flashlights. Each has its own shadow map, allowing blocks and entities to cast shadows. The beams also produce visible haze and drifting dust.
  • Point lights: Lights that spread in every direction, such as flares and lanterns. Nearby blocks still block their light, including geometry outside the screen.
  • Glows: Illuminated surfaces, such as a headlight lens, with optional screen glare.
  • Lens bloom: A soft glow and wider halo around a light source.

Spotlights can also pass colored light through stained glass.

Mod Compatibility

Lambent renders over the finished level, so its lighting also appears over the output of Iris and Oculus shader packs.

It is already used by Veltorque for headlights, reverse lights, tail lights, flashlights, and flares.

Supported Versions

Minecraft Loader Java
1.20.1 Forge 17
1.21.1 NeoForge 21
26.1.2 NeoForge 25
26.2 NeoForge 25
26.3 NeoForge 25

Client-side only. Servers do not need Lambent installed.

Minecraft 26.2 and newer can run using Vulkan, but Lambent currently uses OpenGL. Lighting will not render while Vulkan is selected.

For Developers

Mods can register their own light sources through Lambent’s API and update them every frame. Position, direction, color, brightness, shadows, and fading are all controllable.

Lambent also provides hooks for drawing effects after lighting, controlling beam wind, and checking whether shader packs are active.

Documentation

Wiki

Support

Developed by Zarra Studios.

Report bugs or ask questions through the Zarra Studios Discord or GitHub.


Discord Links Support

License

常见问题

Lambent Lib 支持哪些 Minecraft 版本?

Lambent Lib 支持 Minecraft Java 版 1.20.1–26.3,共 5 个版本,可用的加载器:Forge / NeoForge。下载时注意选择和你游戏版本一致的文件。

Lambent Lib 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Forge / NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。

评论

登录后评论和评分

Raiiiden 的其他作品

查看全部 →