Faster Shadow Mapper 是一款极其轻量级的模组,它能在阴影渲染阶段阻止不必要的元素进行渲染。
兼容的光影模组:
- Iris(1.11.2+ 版本内置)
- Beryl
- Oculus
- Optifine
工作原理
在阴影渲染阶段,对于不透明模型而言,模型的颜色不会产生任何视觉变化——无论是蓝色汽车还是红色汽车,投射出的阴影都是相同的,与其颜色无关。
因此,该模组的作用是在阴影渲染阶段阻止告示牌上的文字、旗帜图案、附魔光效等元素的渲染。
仅当这些元素可见时,才能提升性能。
性能展示
使用 Iris 进行测试
平坦世界中的小型基地 (26.1.2 - 1.0.0)
开启 / 关闭 | 100FPS / 87FPS (平均) | 63FPS / 58 FPS (0.05%低帧率)
|
|
大量告示牌和旗帜 (26.1.2 - 1.0.0)
开启 / 关闭 | 15FPS / 9FPS (平均) | 10FPS / 1 FPS (0.05%低帧率)
|
|
- 平均 FPS 提升 +50%
- 0.05%低帧率 FPS 提升 +1000%
- 告示牌上有文字,但位于另一侧
整合包
欢迎在任何整合包中使用此模组,无需征得许可。
致开发者
如果您是某个光影模组的开发者,欢迎将本项目的代码集成到您的模组中,或者告知我,以便我使此模组与您的模组兼容。
Faster Shadow Mapper is a really lightweight mod that prevents unneeded things from rendering during the shadow pass.
Compatible shader mods:
- Iris (built-in since 1.11.2+)
- Beryl
- Oculus
- Optifine
How it works
During the shadow pass, for opaque models, the color of the model won't have any visual change, a blue car and a red car both cast the same shadow, no matter their color.
So what this mod does is it prevents things like the text on signs, the banner patterns, the enchantment glint etc from rendering during the shadow pass.
It only improves performances when some of those are visibles.
Performance showcase
Tested with Iris
Small base in a flat world (26.1.2 - 1.0.0)
With / Without | 100FPS / 87FPS (avg) | 63FPS / 58 FPS (0.05% low)
|
|
A lot of signs and banners (26.1.2 - 1.0.0)
With / Without | 15FPS / 9FPS (avg) | 10FPS / 1 FPS (0.05% low)
|
|
- +50% FPS on average
- +1000% FPS on 0.05% low
- The signs have text on them but on the other side
Modpacks
Feel free to use this mod in your modpacks without asking for permission.
For developers
If you are the developer of a shader mod, feel free to include this project's code in your mod, or to tell me about it so I can make this mod compatible with your's.
评论 0
登录后参与评分
还没有评论,来抢沙发吧