Guide · Layers
Shader targets and effects
Tell Pawlette which shader your model will use in the game, and the editor shapes itself around it. You see only the channels that shader reads, export offers its template first, and for Poiyomi you can paint decals and emissions as separate effects that export into the shader's own slots.
Pick a target shader
Choose a Target shader in the New project dialog. You can change it later in the Texture Set panel.
| Target | Effect slots |
|---|---|
| Poiyomi Toon | Decals 0 to 3, emissions 1 to 3 |
| Poiyomi PBR | Decals 0 to 3, emissions 1 to 3 |
| Quest (Toon Standard) | None: effects are baked |
| Unity Standard | None: effects are baked |
| Unity URP | None: effects are baked |
| Unreal Engine | None: effects are baked |
| glTF (the default) | None: effects are baked |
The target does three things:
- The Tool Settings Material tab, its channel cards and the viewport's Channel view list only the channels the shader uses. Turn on Show all channels to see every channel again.
- The preview shading follows it. A Poiyomi Toon target, for example, starts in toon shading.
- The Export Textures panel puts the target's template first.
Changing the target can be undone. If the new target has fewer effect slots, the effects that no longer fit become baked.
The Texture Set panel
In the Paint workspace, the panel that used to be called Properties is now the Texture Set panel (the Set tab on a phone). It holds the settings of the selected texture set:
- Shader target: the Target shader, the project's Texture size and Show all channels.
- Opacity: the texture set's alpha mode (below).
- Surface relief › Bump strength: how strongly painted height shows as relief, from ×0.25 to ×4.
- When a fill's material came from a Unity material with surface settings the texture set lacks, an offer to Use alpha mode or Hide tiles to match it.
- The preview shading settings and a summary of the scene.
In the Pose and Render / Export workspaces the panel keeps its old name, Properties.
Alpha mode
The Alpha select decides how the texture set's opacity is used:
- As imported: whatever the model's material said.
- Opaque: opacity is ignored.
- Cutout: texels below the Threshold are invisible and the rest are solid. Use it for hair cards, lace and leaves.
- Blend: smooth see-through, for lenses, glass and fur tips.
In Cutout and Blend sets, strokes pass through see-through texels to the surface behind. See Models and outfits.
Effects
An effect is a decal or an emission with its own stack of layers, kept apart from the texture set's main stack. On a Poiyomi target it exports into one of the shader's decal or emission slots, so in Unity you can still move it, animate it or switch it off. On other targets, effects are baked into the textures.
Step-by-step examples: Decals and Glowing emissions.
The Effects section of the Layers panel lists the selected texture set's effects. Each row shows its slot (for example Decal 0, Emission 1, or Baked), which appearances it is in, and an on/off switch.
Add an effect
- Choose Add effect and pick Decal or Emission. It takes the first free slot.
- Or, in the Assets drawer, choose Add as decal effect in a base-color texture's menu.
- Importing a Poiyomi material also brings its decals and emissions in as effects. See Unity materials.
Paint an effect
Click an effect to step into its layer stack. The Layers heading reads Body › Glow (texture set › effect), and Back to Body returns to the main stack. Inside, add paint, fill and path layers and masks as usual.
While the effect itself is selected, the Effect settings panel takes the place of Tool Settings:
- Name, Slot and an on/off switch.
- For a decal: Blend, Opacity % and Emission strength, and either Placed (with Position U/V, Scale U/V, Rotation ° and side offsets, as Poiyomi places it) or Tiled over the whole UV square.
- For an emission: Color and Strength.
- A Material tab limited to what the slot holds: the decal's image and mask, or the emission's map and mask.
Manage effects
An effect's menu has Rename…, Slot, the appearance actions, Apply earlier, Apply later and Remove. Effects can be switched on and off per appearance, like layers.
Exporting effects
The Poiyomi Toon and Poiyomi PBR export templates write each slotted effect to its own files:
- a decal as
decal-0todecal-3. The decal image is resized to a power of two between 256 and 2048 px, with its coverage in alpha. - an emission as
emission-1-mapandemission-1-mask, up to slot 3.
Slotted effects are left out of the main textures, so the shader does not apply them twice. Every other effect is baked into the textures, following each appearance's settings. The Export Textures panel shows the target, lists the files it will write with each effect's name and decal size, and names anything it bakes: "Baked into textures for Unity Standard: Glow (emission)". Custom templates have Effect slots switches to write slots of their own.