作者:rebot | 分类:模组
Minecraft 版本: 1.19 1.19.1 1.19.2
平台: fabric
标签: optimization
Optimized painting rendering
If you have a look at a painting, you'll notice that on the sides there is a 2px indented frame,
so it sticks out from the wall. In vanilla, these faces are rendered for every single block that the painting is made of.
This is a waste of resources, as the faces are never visible. This mod fixes that by not rendering these faces.
This may seem like a small optimization, but these tiny faces are equivalent to the full block face, so:
Makes a total of 24 vertices per block on vanilla. And 8 vertices per block on OptiPainting.
That's a 66% reduction in vertices!
| With OptiPainting | Without OptiPainting |
|---|---|
![]() |
![]() |
This example is rendered without the back face to demonstrate what the mod does.
You can see the back of the painting in vanilla and with the mod. (For now!!)
Obviously, if you only have the occasional painting in your world, you won't notice much of a difference, but it
is free optimization none-the-less!
请登录后举报
暂无评论,抢个沙发吧~