Skip to content

Post Processing_Atlas

nahkd123 edited this page Jul 12, 2022 · 1 revision
{
    "type": "atlas",
    "from": "assets/namespace/textures-atlas",
    "to": "assets/namespace/textures",
    "templates": {
        "_up": { "x": 16, "y": 0, "width": 16, "height": 16 },

        "_east": { "x": 0, "y": 16, "width": 16, "height": 16 },
        "_north": { "x": 16, "y": 16, "width": 16, "height": 16 },
        "_west": { "x": 32, "y": 16, "width": 16, "height": 16 },
        "_south": { "x": 48, "y": 16, "width": 16, "height": 16 },

        "_down": { "x": 16, "y": 32, "width": 16, "height": 16 }
    }
}

This post processing pass cut the textures atlas into multiple textures. Pretty useful for making multiple faces block textures. Each entry in templates have the texture suffix, which is the key of the object and the template info, which is the object:

{
    "x": 0, "y": 0,
    "width": 16, "height": 16
}

Multipacks Wiki super-duper-useful sidebar

New to Multipacks?

Multipacks Basics

Post processing passes

Platforms

Miscellaneous

Clone this wiki locally