Sub topic 6
The Drop Shadow Layer Style: Quick Results and Where It Falls Short
This chapter covers Photoshop's built-in Drop Shadow layer style. You will learn what each control does, when the style is good enough, and why it fails for believable grounding. It assumes you can open the Layer Style dialog, work with layers and layer masks, and make a cut-out of a subject. Those topics came earlier in this tutorial.
What the Drop Shadow style does
A layer style is a set of non-destructive effects attached to a layer. The effects are live. You can change or remove them at any time, and Photoshop recalculates them when the layer changes. The Drop Shadow style takes the layer's opaque pixels (its alpha shape), offsets a copy, blurs it, tints it, and places it behind the layer.
To add one, select the layer and choose Layer > Layer Style > Drop Shadow. You can also click the fx button at the bottom of the Layers panel. The style appears under the layer as a nested "Effects" entry. The shadow is not a separate layer, so you cannot paint on it, mask it, or transform it on its own.
The controls
The dialog has a handful of controls. Each one maps to a property of a real shadow, but only loosely.
| Control | What it does | Typical starting value |
|---|---|---|
| Blend Mode | How the shadow combines with what is below it | Multiply |
| Color | The tint of the shadow | A dark, slightly saturated tone, not pure black |
| Opacity | How strong the shadow is | 30% to 60% |
| Angle | The direction the shadow is cast | Opposite the scene's light |
| Use Global Light | Shares one angle across all layer styles in the document | On, for a consistent scene |
| Distance | How far the shadow is offset from the subject | 5 to 40 px, depending on image size |
| Spread | Hardens the shadow edge before blurring (it grows the shadow's core) | 0% to 20% |
| Size | The blur radius of the shadow | 5 to 40 px |
| Contour | Reshapes the falloff curve of the blur | Linear |
| Noise | Adds grain to the shadow | 0%, or match the photo's grain |
| Layer Knocks Out Drop Shadow | Hides the shadow where the layer is semi-transparent | On (the default) |
Blend mode and color
The default is Multiply with black. Multiply keeps the colors of the ground visible through the shadow instead of covering them with flat gray. That is the behavior you want, and the next section explains why.
Pure black is rarely right. Shadows in a photo carry color from the sky and surrounding light. Click the color swatch and pick a dark blue-brown or a dark version of the ground's hue. Chapter material on color matching later in this tutorial covers this in more detail.
Angle and global light
Angle sets the direction in which the shadow is offset. Photoshop measures it as the direction of the light source, so the shadow falls on the opposite side. An angle of 120° puts the light at the upper right and the shadow at the lower left. Enable Use Global Light so that every layer style in the document shares one angle. Changing it in one dialog then updates all the others.
Distance, Spread and Size
Distance moves the shadow away from the subject. Size blurs it. Spread controls how much of the blur stays solid: at 0% the shadow fades immediately from its edge, and at higher values it keeps a solid core before softening. Spread is applied before Size, so a high Spread with a small Size gives a hard-edged shadow.
All three values are measured in pixels. A setting that looks right on a 1000 px wide image will look tiny on a 6000 px image. Scale the values when you change resolution.
A quick worked example
Suppose you have a cut-out of a coffee mug on a layer named "Mug", placed on a photo of a wooden table lit from the upper left. The goal is a soft shadow falling to the lower right.
- Select the "Mug" layer.
- Open Layer > Layer Style > Drop Shadow.
- Set Blend Mode to Multiply and the color to a dark brown such as
#2a1a10. - Set Opacity to 50%.
- Turn off Use Global Light and set Angle to 135° for this test (light at the upper left would be 135° measured from the positive x axis, with the shadow falling lower right). Adjust until the direction matches the table's other shadows.
- Set Distance to 20 px, Spread to 5%, and Size to 25 px.
- Click OK.
In about ten seconds you have a believable shadow for a small object. For a thumbnail or a quick mock-up, you can stop here.
Why Multiply matters
A Normal-mode black shadow at 50% opacity is a flat gray veil. It lowers contrast and washes out the texture below it. Multiply multiplies the shadow's color value by each pixel beneath it. A wood grain that is orange and brown stays orange and brown, only darker. The result looks like light is missing from the surface, which is what a shadow is.
Where the style falls short
The Drop Shadow style makes one assumption: the shadow is a uniform, blurred, offset copy of the layer's silhouette. Real shadows break that assumption in several ways.
The shadow cannot follow the ground plane
A cast shadow lies on the ground, so it follows the ground's perspective. A person standing on a floor casts a shadow that stretches across the floor, receding toward the horizon. The Drop Shadow style offsets the flat silhouette in screen space. It cannot be skewed, distorted, or given perspective. A tall subject will show a shadow that looks like a second copy of the subject hanging behind it, not a shadow lying on a surface.
The softness is uniform
In reality, a shadow is sharp where the subject touches the ground and gets softer with distance. This is because the light source has size, so the penumbra (the soft edge region) widens as the gap between object and surface grows. The style applies one blur radius to the whole shadow. You get either a crisp contact point with a crisp tip, or a soft tip with a soft contact point. Neither is correct.
There is no contact shadow
The darkest, tightest area of shadow sits right where the subject touches the surface. This is the contact shadow, and it grounds the subject. A single Drop Shadow with a large Size smears it away. A single one with a small Size makes the whole shadow too hard. You can stack a second shadow by using the multiple Drop Shadow entries available in current versions of Photoshop (click the + beside Drop Shadow in the dialog), but it is still the same silhouette offset.
The shadow is tied to the layer's pixels
The shadow is generated from the layer's alpha channel. If the layer has soft edges, hair, or semi-transparent regions, the shadow inherits that. It also means you cannot erase part of the shadow without also affecting the layer. You cannot paint a gradient mask on the shadow alone.
It ignores the surface
A shadow falling on a bumpy lawn, a step, or a wall should bend over those shapes. The style draws a smooth offset copy regardless.
Converting the style into a real layer
When you reach the limits above, convert the style to its own layer. Right-click the fx entry in the Layers panel and choose Create Layer. Photoshop splits the effect into a new pixel layer named "Layer 1's Drop Shadow" (the name varies). It may show a dialog saying some aspects of the effect cannot be reproduced with layers. That warning refers to the Knockout setting and some blend interactions, so check the result.
Once the shadow is a pixel layer, you can:
- Transform it with Edit > Transform > Distort or Perspective so it lies on the ground.
- Add a layer mask and use a gradient to fade it with distance.
- Apply Gaussian Blur at different strengths, or paint contact darkening separately.
- Change its blend mode and opacity freely.
The cost is that the shadow no longer updates when you move or edit the subject. If you plan to keep editing the subject, make the conversion last, or work on a duplicate of the layer so the live style remains available.
The scripting example from this tutorial's final chapter does the same kind of work as a hand-built shadow. It assumes a pixel layer named "Shadow" exists, then sets its blend mode, opacity and blur:
// Assumes a pixel layer named "Shadow" already exists in the document
var doc = app.activeDocument;
var shadow = doc.artLayers.getByName("Shadow");
shadow.blendMode = BlendMode.MULTIPLY;
shadow.opacity = 55;
shadow.applyGaussianBlur(12);Note that applyGaussianBlur is destructive to the pixels of that layer. If the layer is a Smart Object, apply the blur as a Smart Filter through the menu instead, so you can edit it later.
Deciding which to use
Use the layer style when:
- The object appears to float slightly above a background, as in a UI card, a product on a plain backdrop, or a sticker.
- The shadow is short and the subject is small.
- You need a fast, editable result that updates as the subject moves.
- You are designing graphics with text, shapes, or icons rather than photo composites.
Build the shadow by hand when:
- The subject stands on a surface and the shadow must recede in perspective.
- The shadow is long enough for its softness to visibly change along its length.
- The viewer will look closely, such as in a print, a hero image, or a composite meant to pass as a single photograph.
Common errors
- Shadow looks gray and flat. The blend mode is Normal. Switch to Multiply and tint the color.
- Shadow points the wrong way. Angle describes the light direction, not the shadow direction. Rotate it by 180°.
- Shadow changes in other layers when you edit one. Use Global Light is on. Turn it off for layers that need their own angle.
- Shadow looks too small after resizing the document. Distance and Size are in pixels and do not scale with the image resolution. Set them again.
- Shadow disappears where the subject is semi-transparent. Layer Knocks Out Drop Shadow is on. Turn it off if you want shadow behind soft edges.
- Shadow appears hard-edged and cut out. Size is too small or Spread is too high. Lower Spread first.
Exercise
You placed a cut-out of a standing person on a photo of a sidewalk. The sun is low and behind the person, so a long shadow should stretch toward the camera. You added a Drop Shadow with Angle 270°, Distance 150 px and Size 30 px, and it looks like a gray copy of the person hanging below their feet. Name two reasons the layer style cannot fix this, and describe the steps you would take instead.
Show answer
First, the style offsets the flat silhouette in screen space, so it cannot be distorted into the perspective of the sidewalk. Second, it uses a single blur radius for the whole shadow, so it cannot be sharp at the feet and soft at the tip. A third limit is that it provides no separate contact shadow. To fix it: right-click the fx entry and choose Create Layer, then use Edit > Transform > Distort or Perspective to lay the shadow along the ground plane toward the camera. Set the blend mode to Multiply and tint it. Add a layer mask with a gradient so the shadow fades with distance, apply a stronger blur to the far end (for example by blurring a duplicate and revealing it through a gradient mask), and add a small, dark, tight shadow under the feet as a separate contact shadow layer.
Exercise
A Drop Shadow set to Distance 12 px and Size 10 px looks right on a 1200 px wide image. You resize the document to 4800 px wide with Image > Image Size. The shadow looks tiny. Why, and what do you change?
Show answer
Layer style values are stored in pixels, and without Scale Styles enabled in the resize dialog (or the Scale Effects option) they stay at 12 px and 10 px while the image grows fourfold. Reopen the Drop Shadow dialog and multiply the values by four, to about 48 px Distance and 40 px Size. Alternatively, resize the image again with Scale Styles turned on.