This guide walks you through a complete first capture: importing a 3D model, configuring theDocumentation Index
Fetch the complete documentation index at: https://docs.tomblack.ca/llms.txt
Use this file to discover all available pages before exploring further.
PixelateCaptureManager, generating the sprite sheet, and optionally setting up a lit material or animation clip. You can stop at the end of any step depending on what your project needs — the three outcome paths are described at the bottom of this page.
Import your 3D model
Drag your 3D model file (
.fbx, .obj, or similar) into the Unity Project window to import it.Pixelate renders directly from the 3D geometry, so the material setup on your model affects the output:- Unlit flat colors produce the cleanest pixel-art results because there are no lighting gradients to resolve during capture.
- Textured models work too. If you use textures, open the texture’s import settings and reduce Max Size (for example, to 512 or 256). Oversized textures at capture resolution can introduce unwanted detail that reads as noise in the final sprite.
Import your 3D animations
Import the animation files for your model. These can be separate
.fbx files containing animation clips, or clips embedded in the same file as the mesh.Open the Capturing scene and add your model
Open the Capturing scene located at
Assets/Scenes/Capturing.Drag your imported model from the Project window into the scene Hierarchy. Then delete the placeholder character that came with the scene — it is only there as a reference for positioning.Position your model so it sits in the center of the capture frame. The camera in the Capturing scene is already configured for pixel-art rendering; do not move or resize it.Configure the PixelateCaptureManager
In the Hierarchy, select the PixelateCaptureManager GameObject. Its component settings appear in the Inspector.Assign two values:
- Target — drag your model’s GameObject from the Hierarchy into this field.
- Source Clip — drag the animation clip you want to render into this field. If you want to capture multiple clips in one session, you can assign them to the Source Clip list one at a time and run a separate capture for each.
Customize FPS, cell size, and preview
Set the capture parameters to match the look you want:
- Frames Per Second — controls how many frames are sampled from the animation. Lower values (8–12 FPS) give a classic chunky pixel-art feel; higher values (24+) produce smoother motion.
- Cell Size — the pixel dimensions of a single frame in the output sprite sheet (for example, 32×32 or 64×64). Choose a size that captures enough detail without excess empty space.
Set the export location and capture
In the
PixelateCaptureManager Inspector, click Change Sprite Export Location and choose a folder inside your project (anywhere under Assets/). The selected path is shown below the button.Then click the Capture button. Pixelate renders and exports two texture files: the sprite sheet and a matching normal map.Install the 2D Sprite package
Before slicing the sprite sheet into individual frames, confirm that the 2D Sprite package is installed.
- Open Window > Package Manager.
- Set the source to Unity Registry.
- Search for
2D Spriteand click Install if it isn’t already present.
(Optional) Create a lit material
To use the normal map for real-time lighting, create a material and assign both the sprite sheet and normal map textures.Apply the material to a Sprite Renderer component on your character GameObject.
- Built-in pipeline
- URP
- In the Project window, right-click and choose Create > Material.
- In the material’s Inspector, set the Shader to
ToonLitSprite. - Assign your captured sprite sheet to the Diffuse Map slot.
- Assign the captured normal map to the Normal Map slot.
(Optional) Convert the sprite sheet to an animation clip
To drive your sprite sheet as a Unity animation, you need to create an Animation Clip that steps through the individual sprite frames.Select all the sliced sprite frames in the Project window (from the sprite sheet you sliced in step 7), then drag them onto the GameObject in the scene. Unity will prompt you to save a new animation clip — name it and save it inside your project.For a detailed video walkthrough of this step, see the sprite animation setup guide.
Outcome paths
Depending on your project’s needs, you can stop at different points:| Path | Stop after | Result |
|---|---|---|
| A — Sprite sheet only | Step 7 | A sliced sprite sheet with no lighting. Suitable for unlit games or further manual editing. |
| B — Sprite sheet with lighting | Step 8 | A sprite sheet and normal map wired to a lit material. Characters respond to a Directional Light in your scene. |
| C — Full animated sprite | Step 9 | Everything from Path B, plus a Unity Animation Clip that plays back the captured frames. |