A few years into my agency career, I handed a composite to a creative director and he looked at it for about four seconds before saying, “The light is lying.” He didn’t say the mask was bad. He didn’t say the colors were off. He went straight to light, because that’s what the brain reads first when it decides whether an image feels real or fake.

That one comment probably saved me years of chasing the wrong problems. Most compositing tutorials focus on selection tools and layer masks, which matter, but they’re the middle of the process. If your light sources don’t agree, no amount of masking refinement will save you.

Why Light Direction Kills More Composites Than Bad Masks

When you place a subject into a new background, you’re combining two photographs that were lit at different times, in different places, by different suns or softboxes. The camera doesn’t care. Photoshop doesn’t care. Your eyes absolutely do.

The human visual system is calibrated over a lifetime of living in a world with one primary light source. When a subject is lit from the left and the background sky shows a sun on the right, your brain flags it immediately, even if the viewer can’t articulate why. They just say the image looks “off” or “Photoshop-y.” What they’re detecting is contradictory shadow logic.

Before you ever open the masking tools, find the key light angle in your background plate. Look at the shadows on the ground, the highlight placement on any objects in the scene, the direction of any lens flare. Then compare that to your subject. If they don’t agree within roughly 30 to 40 degrees, you have a foundational problem that needs to be solved before you touch a single mask.

The Matching Workflow: Luminosity, Color, and Contrast in That Order

Once your light angles are compatible, the actual blending comes down to three things, and the order matters: luminosity first, color second, contrast third. Working out of order is one of the most common mistakes I see from students.

Start with a Curves adjustment layer clipped to your subject layer. Sample the brightest highlight in your background and the brightest highlight on your subject. They should land within about 10 to 15 points of each other on the histogram. Do the same with the shadows. You’re not trying to make them identical, you’re trying to put them in the same tonal neighborhood.

Next, use a Hue/Saturation layer, also clipped, and shift the color temperature of your subject toward the background’s dominant color cast. If your background is golden hour, your subject probably needs a slight push toward orange and yellow. Pull the saturation on the subject down by 5 to 10 points as a starting point. Backgrounds shot outdoors almost always have more atmospheric desaturation than studio-lit subjects, and that mismatch reads as fake.

For contrast, add a clipped Curves layer and introduce a subtle S-curve, but match the curve’s steepness to the overall contrast feel of the background. A flat, overcast background calls for a flatter subject. A high-contrast backlit scene calls for more aggressive shadows.

Edge Refinement: Where the Work Actually Gets Precise

After the tonal and color matching is solid, edge quality becomes the focus. The Select and Mask workspace in Photoshop (Filter menu, or via a layer mask right-click) gives you the Refine Edge Brush, which is the right tool for hair and fur. Use a brush radius of about 20 to 40 pixels for medium-length hair, and paint over the transition areas only. Let the algorithm work on the complexity. Your job is to tell it where the complexity is.

One setting most people skip is the Decontaminate Colors checkbox in the Output section of Select and Mask. Enable it and set it to around 50 percent. This removes the color spill from the original background that bleeds into the edges of your subject. Without it, you’ll see a faint fringe that color-matching adjustments will never fully eliminate, because the contamination is baked into the pixels themselves.

After you output the refined mask, do one final pass manually. Zoom to 100 percent and use a soft brush set to about 20 percent opacity to paint back any edge detail the algorithm clipped too aggressively. This takes 10 to 15 minutes on a typical full-body subject, but it’s the pass that separates a composite that holds up at full resolution from one that falls apart when someone zooms in.

Color Grading the Composite as a Single Image

Here’s where most tutorials stop, and where the work actually finishes. Once your subject is matched and masked, you need to grade the entire composite as one unified image, not as two separate layers.

Merge everything to a new layer (Command+Shift+Option+E on Mac, Control+Shift+Alt+E on Windows), then apply a Color Lookup adjustment layer set to your chosen LUT at around 60 to 75 percent opacity. I use Kodachrome for warm outdoor scenes and Fuji ETERNA for cooler cinematic work, but the specific LUT matters less than applying it globally. You want one color decision to sit over the whole image, tying the subject and background into the same photographic universe.

Finish with a subtle vignette using a Curves layer, masking it with a large radial gradient centered on your subject. Drop the edges by about 15 points on the RGB curve. This is the visual equivalent of a period at the end of a sentence, it tells the eye where to land.

The Frame That Got Me in the Door

The first agency job I ever got came from a composite I spent 40 hours on over a single weekend. I was trying to place a person into an abandoned industrial building and I could not get the light to feel real. I printed reference photos of the location. I studied where every shadow fell. I rebuilt the edge refinement three times. By the end I had something that looked like a photograph taken on location.

The creative director asked me how they got access to that building. That’s when I understood that the goal of compositing isn’t to make a good Photoshop file. The goal is to make a photograph that doesn’t feel like one.

Get the light to agree first. Everything else is craft that follows from that.