Optimized painting rendering for modern Minecraft
This mod optimizes the rendering of paintings by not rendering the sides of the painting that are never visible.
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 inner 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.
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!