Export to engines
A model coloured with Palette Grid is a mesh with UVs and one small texture. Any engine that takes a textured model takes it: Unity, Unreal, Godot and the rest.
Export Texture
Export › Texture (.png) (under the Palettes list, or the palette's right-click menu) saves the palette as a plain PNG, the file to give your engine.
- Size: the palette's own size, or 256 to 8192 px on the longer side, or a custom size. The palette's proportions are kept, and the strips are drawn anew at that size, so edges stay sharp and gradients smooth.
- Engines don't open a
.pgridpalettefile: that's Palette Grid's own format (see Palettes and strips). Ship the PNG. - With colourways, Export Colourways writes one PNG per colourway, with the same Size setting.
The palette material
Models show the palette through one material, set up when you build the palette: see Put the palette on a material. Its pixels are crisp by default (Closest filtering), and glTF exports keep that crisp sampling.
Bake to Vertex Colours
Bake to Vertex Colours writes the palette, through the UVs, into a colour attribute of the selected meshes (named Palette by default), for engines and styles that use vertex colours instead of a texture. One colour per face corner, or one per face with Flat per Face.
Taking it to an engine
- Export the models with Blender's own exporters (glTF, FBX, OBJ). Palette Grid changes only their UVs and material.
- Filtering: glTF keeps the nearest-pixel sampling. With FBX, set nearest (point) filtering on the texture in the engine.
- Mipmaps: turn them off for the palette, or keep strips large. Strips sit edge to edge, so small mip levels blend neighbours.
- Margins: faces stay inside their strips by an adjustable margin, and strip edges always land on whole pixels.
- When to re-export: changed the layout (strips moved or resized)? Re-export the models and the texture. Changed only colours? The texture is enough.
This chapter as Markdown: https://savedpixel.com/docs/v2/export.md