Sub topic 3
Creating a reflection by flipping a duplicate
This chapter assumes you can work with layers, layer opacity, selections, and the Free Transform tool (Ctrl+T on Windows, Cmd+T on macOS). Your subject should already be cut out on its own layer, with a clean edge along its base.
Flipping a duplicate into a reflection
Duplicate the subject layer with Ctrl+J (Cmd+J). Choose Edit > Transform > Flip Vertical. Press Ctrl+T, drag the copy until its top edge meets the subject's base, and press Enter.
Fading the reflection with a gradient mask
Click the Add Layer Mask button in the Layers panel. Select the Gradient tool, choose the black-to-white preset, and drag from the base line downward. Black hides pixels, so the reflection fades with distance. Set the layer opacity to about 40%.
Adapting reflections to the surface
Each surface changes the reflection's fade and sharpness.
| Surface | Fade length | Blur | Distortion |
|---|---|---|---|
| Glossy floor | Short | 1 to 2 px | None |
| Still water | Medium | 2 to 4 px | Filter > Distort > Ripple |
| Curved surface | Varies | 0 to 2 px | Edit > Transform > Warp |
Matching color and tone
Reflections take on the surface's color and are usually darker than the subject. Alt-click the line between the reflection and an adjustment layer to clip a Color Balance layer to the reflection, then shift the tones to fit the scene.
Automating the steps with a script
This ExtendScript duplicates the active layer, flips the copy, and sets its opacity. Run it through File > Scripts > Browse. You still add and paint the mask by hand.
var doc = app.activeDocument;
var src = doc.activeLayer;
var refl = src.duplicate();
refl.name = src.name + " reflection";
refl.resize(100, -100, AnchorPosition.BOTTOMCENTER);
refl.opacity = 40;Exercise
Why does the reflection fade out when you paint black on its layer mask?
Show answer
Black on a layer mask hides the pixels on that layer, so the reflection becomes transparent where the mask is black and visible where it is white.