
OptiPainting Updated
This is an updated version of the OptiPainting mod adapted for Minecraft 1.21.8. If the original project is updated and incorporates these changes, this page will be removed.
What does this mod do?
OptiPainting significantly improves the performance of painting rendering in the game. Key benefits:
- Eliminates rendering of invisible side faces of paintings that are unnecessarily displayed in the standard version
- Removes limitations on the size of custom paintings, allowing creation of images of any size (in version 24w18a Mojang added support for paintings up to 16×16 blocks)
How does the optimization work?
If you carefully examine a painting in Minecraft, you'll notice a 2-pixel thick frame on the sides that protrudes from the wall. In the standard game, these faces are rendered for every block that makes up the painting, even though they are never visible to the player. This mod fixes this problem by excluding the rendering of these hidden surfaces.
At first glance this seems like a minor optimization, but each of these small faces requires as many resources as a full block face. Let's compare the number of vertices:
- Front part - 4 vertices
- Back part - 4 vertices
Top part - 4 verticesBottom part - 4 verticesLeft part - 4 verticesRight part - 4 vertices
In the standard game, each painting block has 24 vertices, while with OptiPainting - only 8 vertices.
That's a 66% reduction in vertices!
- For a 16×16 block painting (256 blocks): standard version - 6144 vertices, with mod - 2048 vertices
- For a huge 64×64 block painting (4096 blocks): standard version - 98304 vertices, with mod - 32768 vertices
With OptiPainting | Without OptiPainting |
---|---|
![]() |
![]() |
In this example, the back face is not displayed to clearly demonstrate how the mod works. You can compare what the back side of the painting looks like in the standard version and with the mod.
If you only have a few paintings in your world, the performance difference will be barely noticeable, but this optimization is completely free and requires no additional costs!