A finished painting with 200 layers can be edited as easily as one with 20, provided the layers follow a structure you set up before the first brushstroke. Most people who avoid late edits are reacting to experience: they changed one color, three other things shifted, and they could not tell which layer was responsible. This guide covers how to organize layers in digital painting so that kind of edit stays predictable, in Krita, Photoshop, or Procreate.
Why a painting with 200 layers becomes uneditable
Layer count is not the problem. A file with 200 well-placed layers is easier to edit than one with 40 layers named “Layer 17 copy 3.”
Files become uneditable for three reasons:
- Mixed contents. One layer holds the shadow side of a face, a patch of sky that was fixed on the same pass, and a stray highlight. Changing any of those means touching the others.
- Unknown dependencies. A clipped layer, a blend mode, or an adjustment applies to something below it, and nothing in the layer panel says what. You move one layer and the effect on another changes.
- No way back. Once you merge layers or paint over an element, the earlier state is gone, so every edit feels risky.
Each of these has a structural fix. Contents get separated by a group hierarchy, dependencies get recorded in names, and the way back is a backup habit. The rest of this article builds those three things in order.
If you want the wider picture of where layer work sits between rough sketch and final render, the professional digital painting workflow article covers the whole sequence. This one concentrates on the file itself.
Build a group hierarchy before you paint
Create your groups while the canvas is still empty. Sorting 80 loose layers into groups later takes much longer than painting into groups from the start, and you will make mistakes while sorting.
The top level should follow the spatial layout of the picture:
- Background: sky, distant landscape, anything behind the main subject.
- Midground: the main subject’s immediate surroundings, such as buildings, terrain, or props.
- Foreground: the figure or focal element and anything in front of it.
- Effects: atmosphere, glows, light rays, particles, grain, and final color grading.
This order matches how depth works in a scene, which also helps when you want to push elements forward or back. The article on creating depth and perspective in digital landscapes explains the visual side of that separation.
Inside each top-level group, make one subgroup per element. The foreground group might contain “figure,” “cloak,” and “lantern.” Inside the “figure” subgroup you keep the working layers: flat color, shadow, light, edges, details. Two levels of nesting is usually enough. A third level helps when one element is complicated, like a face with separate eye and hair subgroups, but more than that makes the panel tedious to navigate.
Put the sketch and any reference or guide layers in a group at the very bottom or top, locked, and labeled as guides. A locked group cannot be painted on by accident.
One caution about blend modes on groups. In Photoshop and Krita, groups default to Pass Through, which means the layers inside blend with everything underneath as if the group were not there. If you set a group to Normal or any other mode, its contents are composited together first and then blended as a unit. Both behaviors are useful, but switching between them can change how a painting looks, so decide deliberately and note it in the group name when you change it.
Name layers so you can find them in five seconds
Naming is the cheapest part of the system and the part people skip most. A convention works when you can predict a layer’s name without looking at the panel.
Use this pattern: element, then role, then detail.
figure_flatfigure_shadowfigure_rim-lightlantern_glowsky_clouds-farfx_dust
Putting the element first keeps related layers next to each other when you scan or search. Lowercase with underscores avoids confusion between similar names. If your software has a layer search or filter, this pattern also makes the search useful, since typing “shadow” will list every shadow layer in the file.
Add two more habits:
- Name the dependency when there is one. If a layer is clipped to
figure_flat, call itfigure_shadow (clip). If it uses Multiply, addmult. A short tag like this tells you the layer will behave differently from a plain one. - Use color labels. Krita, Photoshop, and Procreate-style grouping all let you tell groups apart visually, with color labels in Krita and Photoshop. Assign one color per top-level area, for example blue for background and red for effects, so you can see which area you are in at a glance.
Rename as you create. Renaming at the end of a session means you are guessing what each layer was for, and the guess is often wrong.
Clipping masks, alpha lock, and adjustment layers
Late color changes depend on how you applied color in the first place. There are three tools, and they work differently.
Alpha lock (called Lock Alpha in Krita and Procreate, Lock Transparent Pixels in Photoshop) restricts painting to pixels that already exist on the layer. It is quick, but it changes the layer’s pixels permanently. If you shade a flat color layer with alpha lock on, the flat color and the shading are now one layer, and you cannot recolor the base without repainting the shading.
Clipping masks put a layer’s contents inside the shape of the layer below without altering either. In Photoshop and Procreate this is called a clipping mask; in Krita the equivalent is Inherit Alpha. Because shading lives on its own layer, you can change the flat color underneath and the shading stays in place. For anything you might recolor later, clip shading, light, and detail layers to the flat color layer instead of painting on it with alpha lock.
Adjustment layers (Photoshop) and filter layers (Krita) apply hue, saturation, curves, or color balance to the layers below without changing their pixels. Clip one to a single element’s group and you can shift only that element’s color, then undo the change at any time by deleting or adjusting the layer. Procreate applies its adjustments directly to a layer instead of as a separate editable layer, so duplicate the layer before you adjust it and hide the original.
Clipping chains are where files tend to break. A chain of five clipped layers on one base works until you move or merge the base. Keep chains short, ideally base plus three or four clipped layers. If a chain grows beyond that, group the base and its clipped layers together. In Photoshop and Krita, check the group’s blend mode afterward, since grouping can change how clipped layers composite.
Also watch for clipped layers set to Multiply, Overlay, or Color. These depend on whatever is beneath them. If you move the base layer to a different background, the result changes, so test the move before you commit to it.
When to merge, when to flatten, and when to keep a backup
Merge when a decision is made and further changes are unlikely. Keep layers separate when you are still undecided. The practical test is whether you can imagine asking yourself to change it. If you can, leave it unmerged.
Rules that keep merging safe:
- Merge only within one element’s subgroup. Merging
figure_shadowintofigure_flatis a contained decision. Merging a figure layer into a background layer removes your ability to move the figure. - Merge sets of small detail layers, not structural ones. Ten stray highlight and texture layers on a finished cloak can become one
cloak_detaillayer. The flat color and main shadow layers stay separate. - Never merge across the top-level groups until the painting is finished.
- Save a copy before every merge session. Both Krita and Photoshop let you save under a new name, and Krita has an incremental save option that numbers versions for you. In Procreate, duplicate the canvas from the gallery.
Flattening is a different action from merging. Flatten only for export, and never in your working file. Export a flattened PNG or JPEG for sharing, and keep the layered file as the master.
A simple backup scheme is three files: the working file, a _prefinal version saved before final details and color grading, and a _layered-master saved when you call the painting done. When a client or your own eye asks for a change two weeks later, you start from the master.
Handling file size and slowdown
Large canvases slow down because every visible layer is held in memory at full canvas size or close to it. More layers and bigger canvases both increase the load.
Ways to lower it without losing editability:
- Delete layers that are empty or hidden and no longer needed. Hidden layers still take up memory and file space.
- Merge finished detail layers within an element, following the rules above.
- Work at the resolution you need. If the painting will be printed at a known size, set the canvas for that size. Going far beyond it makes every operation slower and gives no visible benefit.
- Keep reference images out of the file where possible. Use your software’s reference panel or a second window.
- Check the layer limit. Procreate sets its maximum number of layers according to canvas size and the device’s memory, so a large canvas permits fewer layers. If you reach the limit, merge finished detail inside one element and keep the structural layers.
- Restart the application between long sessions, since memory use can build up over hours of work.
If a file is slow, locate the cause before merging at random. Hide one top-level group at a time and see which hide makes the biggest difference. That group is where to consolidate.
Making a late change
With the structure above, the three most common late edits each follow a short procedure.
Swapping a color. Find the element’s subgroup, then its flat color layer. If shading is clipped, change the flat color by painting it over with alpha lock on, or add a hue adjustment clipped to the group. The shading follows automatically. If the new color changes the mood, check the effects group too, since glows and grading may need adjusting. The article on exploring color palettes for mood and atmosphere is useful when the swap is a deliberate shift in feeling.
Moving a figure. Select the figure’s subgroup and move or transform it. Two things usually need attention afterward. The area the figure used to cover must already be painted on the layers beneath, so paint the background behind the figure early, on its own layer, even if it is hidden by the figure. Cast shadows and reflected light on other elements also have to move. Keep them in a separate shadow layer or group named for the element casting them, such as figure_cast-shadow, so you can move them with the figure.
Relighting a scene. Keep light and shadow on separate layers from the start, using Multiply for shadow and Overlay, Soft Light, or Add for light. To relight, hide the old lighting layers, add new ones in the same positions, and adjust the effects group. If you painted lighting directly into the flat colors, relighting means repainting, which is the situation this structure avoids.
Before any of these edits, save a new version of the file. Then if the change fails, you lose ten minutes instead of the painting.
A reusable layer template
Build the structure once, then save it as a template file and open a copy at the start of every painting. In Photoshop, save a PSD with the empty groups. In Krita, save a .kra file or a template through the File menu. In Procreate, duplicate a prepared canvas in the gallery.
A starting template might contain:
00_guides(locked): sketch, perspective lines, reference notes10_backgroundskydistant
20_midgroundstructuresground
30_foregroundfigurepropscast-shadows
40_effectsatmosphereglowgrain
90_grade: adjustment or filter layers for overall color
The number prefixes keep groups in a fixed order if you ever sort them by name. Color labels are already assigned. Inside each element subgroup, start with a flat layer and add clipped shadow and light layers as needed.
Adjust the template as you learn what your paintings need. If you always add a rim-light layer, add it. If you never use the distant group, remove it. The aim is a file that looks familiar every time you open it, because familiarity is what makes you willing to change things late.
For more on the painting process that sits around this structure, the Krita for digital art article covers the software side if you are working in Krita.