Before I open Photoshop on any new composite, I sketch it out on paper. It’s a habit I’ve kept since my first professional job, and it forces me to think about every element before I’m seduced by pixels. But no amount of planning prepares you for the moment you drop a subject onto a background and the edge looks like it was cut out with kindergarten scissors. That edge, that one pixel-wide strip where your subject meets the world around it, is where composites live or die.

Most people treat masking like a chore. They want to get through it fast and move on to the fun stuff, the color grading, the light effects, the drama. I understand the impulse. But I’ve built a career on movie posters and album covers, work where a client might blow your image up to six feet wide on a billboard, and at that scale, a lazy mask doesn’t just look bad. It looks like a lie.

Why Edges Fail Before You Even Paint Them

The core problem with most masks isn’t technique. It’s misunderstanding what an edge actually is in the physical world. When a camera photographs a person standing in front of a sky, that edge is never a hard boundary. Light wraps around hair. Fabric has micro-fibers that catch the background color. Even skin has a slight translucency at the cheek that picks up ambient color from the environment. A mask that simply cuts the shape of a person is geometrically correct and visually wrong.

Photoshop’s Select and Mask workspace does a reasonable job of detecting these transitions, but it doesn’t know what your composite needs. It detects edges based on contrast and color difference between subject and background. That works well when your original background is significantly different in tone from your new one. When it isn’t, the algorithm guesses, and it usually guesses wrong around hair and flyaways.

The fix isn’t a better tool. It’s understanding that you need three different kinds of edges in a single mask: hard edges for defined shapes like shoulders and jawlines, soft edges for gradual transitions like fabric folds, and semi-transparent edges for hair, fur, and anything with fine texture.

The Actual Workflow I Use on Professional Jobs

I work at 16-bit in Adobe Photoshop, almost always starting with a RAW file processed in Camera Raw. The bit depth matters for masking because you’re preserving more tonal information in those edge pixels, which gives you finer control when you refine.

My starting point is always Select Subject, found under the Select menu. It’s faster than it was three years ago and genuinely useful as a rough pass. After that, I go into Select and Mask, set the View to Overlay at about 50% opacity, and immediately switch to the Refine Edge Brush. I paint over hair and complex edges at a brush size small enough to follow individual strands, usually 20 to 40 pixels depending on the resolution. I keep Edge Detection radius at 3 to 5 pixels for most subjects, never higher, because a large radius starts swallowing detail.

Here’s the step most tutorials skip: once I accept the selection and get my mask, I go back in with a soft brush at 20% flow and manually paint gray into the mask along those semi-transparent edge areas. Not black, not white. Gray. A value of around 180 to 200 on the mask translates to 70 to 80% opacity on the subject, which mimics the way foreground elements naturally fade into a background at their edges. I do this by eye, using the composite itself as my judge.

The Fringe Problem and How to Kill It

Even a good mask leaves a fringe, a one-or-two-pixel halo of the original background color clinging to your subject’s edge. On a bright background, this looks like a white glow. On a dark background, it looks like dirt.

The fastest fix is Minimum filter applied to the mask. Go to Filter, then Other, then Minimum. A radius of 1 pixel on a full-resolution file will contract your mask just enough to push that fringe inside the subject. Apply it lightly. At radius 2, you start losing detail. After the Minimum filter, I run a Gaussian Blur on the mask at 0.3 to 0.5 pixels, which softens the now-harder edge you just created. It’s a two-step micro-adjustment that takes about 45 seconds and fixes 80% of fringe problems.

Painting Light Back Into the Edge

A mask is only half the job. Once your subject is isolated, their edge still carries the light from their original environment. If I shot a subject in a studio with a white backdrop and I’m placing them into a moody, overcast exterior, the edge of their hair will look too clean, too rim-lit, too studio. The composite will feel assembled rather than photographed.

I keep a Curves adjustment layer clipped to my subject and set to Luminosity blend mode. I pull the edge of the subject darker using a black-to-transparent gradient on that layer’s own mask, targeting just the outer 30 to 50 pixels of the figure. This is sometimes called edge darkening or edge burning, and it pushes the subject’s silhouette into the background rather than floating on top of it. The difference is subtle, maybe 10 minutes of work, but it’s the kind of thing other composite artists notice even when they can’t name why.

I once spent an entire afternoon getting this right on a single book cover, a woman standing in a foggy forest, because the original shot had harsh directional studio light and the forest was diffuse and flat. The only way to reconcile them was to gradually kill the edge contrast until she felt like she belonged there. The client approved it in the first round. That’s how masking is supposed to work. Not as a dramatic effect, but as something invisible.

The Standard Nobody Tells You About

The goal of a mask is to disappear. If someone looks at your composite and says, “great mask,” you haven’t finished yet. The mask is done when no one thinks about it at all, when the image simply reads as true.