截图
介绍
Veil Volume Lights
A client rendering library for Veil point, spot, and rectangular area lights with continuous transparent-medium volumes.
The public API is under com.cappleapple.veilvolumelights.api.client. Create a persistent VolumeLightHandle with VeilVolumeLights.create(...), update it when the source changes, and free it when the source disappears.
VolumeLightHandle point = VeilVolumeLights.create(new VolumeLight.Point(
position, color, 1.0F, 16.0F, true, 0.6F
));
VolumeLightHandle spot = VeilVolumeLights.create(new VolumeLight.Spot(
position, forward, up, color, 1.0F, 40.0F,
24.0F, 10.0F, true, 0.8F
));
VolumeLightHandle area = VeilVolumeLights.create(new VolumeLight.Area(
position, forward, up, color, 1.0F, 24.0F,
4.0F, 2.0F, 70.0F, true, 0.7F
));
Definitions use full cone/spread angles in degrees and full area width/height in blocks. Calls are client-side and should be made on the render thread.
For visual testing, use the Functional Blocks creative tab or:
/give @s veilvolumelights:test_point_light
/give @s veilvolumelights:test_spot_light
/give @s veilvolumelights:test_area_light
Development
Requires Java 21.
./gradlew.bat test build
./gradlew.bat runClient
Veil Volume Lights is available under the MIT License.
The reference integration is Veil Lights for TaCZ.
常见问题
Veil Volume Lights 支持哪些 Minecraft 版本?
Veil Volume Lights 支持 Minecraft Java 版 1.21.1,可用的加载器:NeoForge。下载时注意选择和你游戏版本一致的文件。
Veil Volume Lights 怎么安装?
先用 PCL2 或 HMCL 启动器安装对应版本的 NeoForge,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。
CappleApple 的其他作品
查看全部 →Boundless: Rebirth
Relatively large mod pack full of all sorts of goodies.
Open Lights
Adds open sourced shader compatible lighting to minecraft
TACZ Open Lights
Makes TACZ flashlights look more realistic
Veil Lights for TaCZ
Makes TaCZ attachments work with Veil and Veil Volume Lights
评论
登录后评论和评分