Sub topic 2
How a Mockup Document Is Organized
This chapter assumes you can move around Photoshop's panels, work with layers, groups and layer masks, know the basic blend modes, and understand the difference between raster pixels and vector shapes. It also assumes you know what a color profile such as sRGB is. The previous chapter covered what a smart object is. Here you will see where it sits in a mockup file and why the layout of that file matters.
A mockup works because it separates two jobs. One part of the file holds the design that changes. The rest holds the scene that stays the same. Good organization keeps those jobs apart, so you can swap a design without touching the lighting, shadows or perspective.
The core idea: one changeable part, many fixed parts
A mockup document is a layer stack with three kinds of content:
- The placeholder. A smart object layer that holds the design. It is the only layer you change from one variation to the next.
- The scene. Everything that makes the product look real: the background, the product body, the surface texture.
- The realism layers. Shadows, highlights and adjustments that sit above or below the placeholder and react to it.
The placeholder is the only part of the file you edit when you make a new version. The scene and the realism layers are built once and left alone.
A typical layer stack
Photoshop lists layers from top to bottom, and the order controls what you see. Here is a common stack for a poster on a wall. Read it from the top down.
| Position | Layer or group | Type | Job |
|---|---|---|---|
| Top | Color Grade | Adjustment layer | Unifies the color of the whole scene |
| Highlights | Pixel layer, Screen or Soft Light | Adds light on the glossy parts | |
| Shadows | Pixel layer, Multiply | Darkens the areas where light is blocked | |
| Artwork | Smart object | Holds the design | |
| Frame | Group or shape layers | The poster frame and its edge | |
| Wall | Pixel layer or smart object | The surface behind the poster | |
| Bottom | Background | Pixel layer | The base of the scene |
The exact layers change with each product. The pattern does not. The design sits in the middle. Layers that darken or lighten it sit above it. The surroundings sit below it.
Why the order matters
Photoshop draws the stack from the bottom up. Each layer is composited over the result of the layers beneath it. This has two consequences for mockups.
First, shadows and highlights must sit above the placeholder to affect it. If a Multiply shadow layer sits below the artwork, the artwork covers it and the shadow never shows.
Second, the surrounding layers never change when you replace the design. Only the contents of the smart object are swapped, so the layers above it keep acting on whatever design appears.
The placeholder layer
The placeholder is a smart object that holds a stand-in design. Three habits make it easy to use.
- Name it clearly. Use a name such as
ArtworkorReplace Me. A clear name helps anyone who opens the file, and a script can find the layer by that name. - Keep it at a predictable level. A layer at the top level of the stack is the easiest to select. A layer buried in nested groups is harder to find.
- Fill the placeholder with something recognizable. A flat color with the word "Design here" shows right away where the artwork goes and how big it should be.
You can also color-label the layer in the Layers panel. Choose a color that stands out, such as red, so a user can spot the layer at a glance.
The inside of the placeholder
A smart object is a file inside your file. When you double-click the layer, Photoshop opens its contents in a separate document. That inner document is where the design lives. The mockup holds a reference to it plus the transforms, filters and effects you applied on the outside.
This split is what makes replacement work. Changes made inside the smart object flow out to the scene. Changes made to the scene, such as perspective, stay in place when the inner design changes.
The inner document has its own size, resolution and color mode. Those settings decide how the design looks inside the scene. A later chapter covers sizing artwork to fit. For now, remember that the inner canvas is a flat, front-facing rectangle. The outer scene supplies the angle.
Where the perspective lives
The placeholder shows the design at an angle because a transform was applied to the layer in the mockup, not because the inner file is skewed. The inner document stays square and flat. The outer layer is distorted to match the surface.
You can see the distinction when you open the contents. The artwork looks undistorted inside the smart object, and the same artwork looks tilted in the scene. If you drew the tilt into the inner document, replacing the design would break the effect, because every new design would have to be tilted by hand.
Groups and the clean file
Groups keep a mockup readable. A common arrangement is:
- A group called
Scene, holding the background, wall and product body. - The
Artworksmart object, at the top level or in its own group. - A group called
Realism, holding shadows, highlights and the color grade.
With this arrangement, a person can hide the Realism group to check the raw placement, then turn it back on to judge the final look. Hiding and showing whole groups also helps when you find a problem and need to learn which layer causes it.
Avoid these common mistakes:
- Merging layers. Merged layers cannot be adjusted later. Keep layers separate so each one can still be tuned.
- Leaving default names.
Layer 14tells you nothing in a stack of 30 layers. - Nesting too deeply. Groups inside groups inside groups make the placeholder hard to reach, and they make scripting harder.
- Putting realism layers below the placeholder. As noted above, the design hides them.
Clipping realism to the placeholder
Shadows and highlights should affect the design and nothing else. A clipping mask does this. When you clip a layer to the one below it (Layer > Create Clipping Mask, or Alt-click or Option-click between the two layers), the clipped layer shows only where the layer below has pixels.
Here a shadow layer is clipped to the Artwork smart object. The shadow darkens the design but does not spill onto the wall around it. Because the clip follows the shape of the placeholder, it still fits when the design changes.
Note that clipping depends on position. A clipped layer must sit directly above its base layer. If you drag another layer between them, the clip can break or attach to the wrong layer.
A pre-flight checklist
Before you call a mockup ready, check these points.
- The placeholder is a smart object, and its name says what it is.
- The placeholder sits in a place that is easy to reach.
- Shadows and highlights sit above the placeholder.
- Realism layers are clipped or masked so they only affect what they should.
- Layers have meaningful names, and groups are shallow.
- The inner document is flat and front-facing, and the angle comes from the outer transform.
- The document's color profile is set on purpose, for example sRGB for web output.
How the pieces connect
The organization described here is what later chapters build on. Editing contents, replacing designs, fitting perspective and adding shadows all depend on the placeholder sitting in the right place with the right neighbors. A tidy file makes each of those steps shorter, and it makes automation possible.
Exercise
A mockup has a Multiply shadow layer placed below the Artwork smart object in the Layers panel. The shadow does not show on the design. Why, and what is the fix?
Show answer
Photoshop composites from the bottom up, so the Artwork layer is drawn over the shadow and hides it. Move the shadow layer above the Artwork layer. To keep the shadow from spilling onto the wall, clip it to the Artwork layer with a clipping mask.
Exercise
You tilt a poster design inside the smart object's contents so it matches the wall angle in the scene. What goes wrong when you later replace the design?
Show answer
The new design is flat and front-facing, so it no longer matches the angle. The tilt belonged in the outer transform on the layer, not in the inner document. Remove the tilt from the contents and apply Distort, Perspective or Warp to the placeholder layer in the mockup, so every replacement inherits the angle.