A utility for automatic application of the XBR scaling algorithm to a collection of game textures, specifically designed for Minecraft resource packs.
- Go to packxbr.f53.dev
- Choose a
.zip
file containing.png
images you want to scale. - Select Scale Factor and Auto/Manual
- (Manual Only), choose options to scale each image.
- The scaled
.zip
will be saved once all images have been processed.
Depending on what what a texture looks like, you will want the edges of it to be handled differently. Here are a couple of examples covering all the wrap modes, and where they would be used:
Normally, xBRZ rounds off the edges of textures, which can lead to holes in the corners of models! Relayer is an option designed to correct this flaw. It basically un-rounds corners by underlaying a Nearest Neighbor upscale of the original texture beneath the result from xBRZ.
Now, you may be thinking:
If there is a mode to automatically scale everything, why would I ever use manual mode?
Because the tool has no idea what each image given to it is, the best it can do for how to handle scaling it is guess based on the directory it's inside of.
Heres the logic Auto mode uses:
- By default, all images have relayer off and use void for all their edges.
- Inside
block/
, all edges are treated with wrap - Inside
model/
andentity/
, relayer is used - Inside
painting/
, all edges are treated with extend - Inside
font/
andcolormap/
, images aren't scaled at all
While this logic leads to a half-decent result, it's not perfect. So if you have the time, I highly recommend using manual.
If you have any questions or suggestions, please contact me via the VanillaXBR Discord server!