IRLights BBS 插件
为 BBS FS 提供实时动态光照。
本模组专为 Fabric 1.20.1-1.21.11 构建。不过,1.20.1 版本可在 Forge 和 NeoForge (1.21.1) 上配合 Sinytra Connector 模组使用。
此插件为 BBS 模型方块、角色(actors)及电影回放添加了真实的动态点光源和聚光灯。它支持实时阴影、体积光(God-rays)以及投影光影图案(Gobo/Cookie)。光源的放置方式与其他任何 BBS 形式相同,因此可无缝融入你现有的 BBS 工作流程。
注意:光照渲染通过 Iris 光影管线进行。你需要安装 Iris 并启用一个受支持的光影包,才能在游戏中实际看到效果。
功能
- 点光源与聚光灯。可将它们放置在 BBS 模型方块上,或直接附加到角色和回放中,使其随场景移动和动画化。
- 实时阴影。来自世界方块和实体的阴影均可支持。每个光源可单独切换阴影开关,质量等级从低到高(Low 至 Ultra),且缓存仅在场景真正发生变化时才会重新烘焙。
- 体积光。具有可配置的束强度、密度和各向异性(Henyey-Greenstein 散射),用于实现穿过雾、烟和灰尘的上帝之光效果。
- Gobo / Cookie 投影。将黑白 PNG 图案投射出聚光灯的锥形区域(如窗户阴影、树叶斑驳、投影仪效果或任意形状),投射到表面上并贯穿体积光束。在 BBS 电影编辑器中完全关键帧可控。
- 逐光源控制。包括颜色、强度、范围/半径、锥角(内/外)、灯泡大小(阴影柔和度)以及独立的方块/实体光照遮罩。
- 世界内灯光引导线:可选的线框辅助工具,精确显示光源的位置及其影响范围,便于编辑时使用。

支持的光影包
该插件附带一个源修补器(source patcher),可直接将其光照代码注入流行的 Iris 光影包中:
- Photon
- Complementary Reimagined
- BSL
- Bliss
- Solas
- IterationRP
- Rethinking Voxels
在游戏设置中选择其中一个光影包,执行一次修补操作后,光源即可开始渲染,并完整支持阴影和体积光效果。
需求
安装方法
- 安装 Fabric Loader、Fabric API、BBS FS (2.3.1+) 和 Iris。
- 将插件的 jar 文件放入你的
mods 文件夹。
- 启动游戏一次,以便提取其捆绑的光影修补文件。
- 在 BBS 设置菜单中打开修补器面板,选择你的光影包并进行修补。
- 在 Iris 中启用该光影包,在模型方块(或角色/回放)上放置一个点光源或聚光灯形式,你的场景即可获得照明。
致谢
由 qualet 创建。
许可协议
采用 MIT 许可证授权。
IRLights BBS Addon
Real-time dynamic lighting for BBS FS.
It's made for Fabric 1.20.1-1.21.11. However, 1.20.1 build can be used on Forge and NeoForge (1.21.1) with Sinytra Connector mod
This addon adds real dynamic point lights and spotlights to BBS model blocks, actors, and film replays. It comes with real-time shadows, volumetric god-rays, and projected light patterns (gobo/cookie). Lights are placed the same way as any other BBS form, so it slots straight into your existing BBS workflow.
Note: lighting renders through the Iris shader pipeline. You'll need Iris installed and one of the supported shader packs enabled to actually see it in-game.
Features
- Point lights & spotlights. Place them on BBS model blocks, or attach them directly to actors and replays so they move and animate with the scene.
- Real-time shadows from both world blocks and entities. Shadows can be toggled per light, quality goes from Low to Ultra, and a cache only re-bakes when the scene actually changes.
- Volumetric lighting with configurable beam strength, density, and anisotropy (Henyey-Greenstein scattering), for god-rays through fog, smoke, and dust.
- Gobo / cookie projection. Project a black-and-white PNG pattern out of a spotlight's cone (window shadows, foliage dapple, projector effects, whatever shape you want) onto surfaces and through the volumetric beam. Fully keyframeable in the BBS film editor.
- Per-light control over color, intensity, range/radius, cone angle (inner/outer), bulb size (shadow softness), and independent block/entity light masking.
- In-world light guides: optional wireframe gizmos showing exactly where a light sits and how far it reaches while you edit.

Supported shader packs
The addon ships a source patcher that injects its lighting code directly into popular Iris shader packs:
- Photon
- Complementary Reimagined
- BSL
- Bliss
- Solas
- IterationRP
- Rethinking Voxels
Pick a pack in the in-game settings, patch it once, and lights start rendering with full shadow and volumetric support.
Requirements
Installing
- Install Fabric Loader, Fabric API, BBS FS (2.3.1+), and Iris.
- Drop the addon jar into your
mods folder.
- Launch the game once so it can extract its bundled shader patches.
- In the BBS settings menu, open the patcher panel, pick your shader pack, and patch it.
- Enable that shader pack in Iris, place a Point Light or Spotlight form on a model block (or an actor/replay), and your scene is lit.
Credits
Created by qualet.
License
Licensed under MIT.
评论 0
登录后参与评分
还没有评论,来抢沙发吧