How I've Been Doing Sun Vs Sky Composites for Years (And Where People Mess It Up)

I've been working with Sun Vs Sky compositing since the early days of Photoshop when we didn't have sky replacement AI doing half the work for us. The technique is straightforward in theory but gets complicated fast in practice. I'll walk through how it actually works, the things that go wrong, and what I do to fix them. At its core, Sun Vs Sky compositing is about replacing an overcast or uninteresting sky with a dramatic one that includes a visible sun. The "sun versus sky" problem refers to the exposure challenge: if you expose for the bright sun, the rest of the sky goes blown-out white. If you expose for the sky, the sun becomes a dark spot or disappears entirely. So you capture both separately and blend them. Here's the practical workflow I use. Take your sky base photo on a day with decent clouds or color. Then go out on a different day — or just wait — and get a separate exposure of the sun. You want that sun shot handheld at a fast shutter speed so it's sharp and not overexposed. I typically shoot around 1/1000th or faster at a narrow aperture like f/11 to get those sun rays coming through. Put it on a tripod if you can, but honestly handheld works fine as long as you're steady.

Back in Photoshop, I place the sky image as my base layer and then bring in the sun layer above it. I set the blending mode to Screen or Linear Light depending on how dramatic I want the effect. Screen usually gives a softer result while Linear Light makes it punchy. From there it's mostly about masking and refining.

Where Everyone Gets Stuck

The most common mistake I see people make is slapping the sun layer on top and calling it done. The result always looks fake because the lighting on the foreground doesn't match the new sun position. If your sun is in the west on the composite but the shadows on your foreground are pointing east from an overcast day, everyone will know it's a composite. Lighting direction matters more than anything else. Another issue is color temperature mismatch. A sunset sky has warm oranges and pinks while an overcast day gives you flat blue-gray light on everything. When you composite a warm sky onto a cool-lit scene, the foreground just sits there looking wrong. I usually fix this by adding a Color Balance adjustment layer clipped to the foreground, pushing the shadows toward blue and the midtones toward warm, then dialing in the opacity until it feels natural. Takes about five minutes and makes a massive difference. I once had a client send me a landscape photo with a terrible overcast sky and wanted me to add a golden hour sun. The problem was the foliage was so uniformly lit from the overcast that there were basically no shadows to speak of. No matter what I did with the sun placement, the scene looked like a sticker paste. What I ended up doing was painting in directional shadows using a new layer set to Multiply mode, working from the sun position I had chosen. I used a soft brush at low opacity and went feather by feather. It added maybe twenty minutes to the job but made the whole thing believable. That's the kind of thing nobody talks about in tutorials.

Get the Full Details

Sun vs. Sky tickets still available for Sunday, June 15
Sun vs. Sky tickets still available for Sunday, June 15

The Edge Case I Wish I'd Documented

Here's a specific problem I ran into last year that most guides don't cover. I was working on a mountain landscape where the subject included pine tree branches silhouetted against the sky area I needed to replace. Standard luminosity masks failed completely because the branches were so thin and intricate. Every time I tried a quick select or even the pen tool, I got halos and rough edges around the needles that screamed "photoshop job." What I ended up doing was using the Select and Mask workspace with the Refine Edge brush. I'd paint along the tricky branch edges at 100% zoom, which feathers the selection just enough to blend into the new sky. Then I'd invert the selection, add the new sky layer below, and use a very fine brush with black on a layer mask to clean up any bits that bled over. The whole refinement process for one image took me about forty-five minutes, but the result was indistinguishable from a natural shot. Don't rush this step. It's where composites live or die.

Tools I Actually Use

I don't rely on one-click solutions. My main toolkit is Photoshop with manual masking. I use NIK Collection's Color Efex Pro for some of the sky color grading when something just won't quite pop no matter how much I adjust curves. For sky replacement specifically, I sometimes use the Sky Replacement feature built into newer Photoshop versions as a starting point, then I spend the next twenty minutes fixing everything it gets wrong. It's faster than starting from scratch but never good enough to leave alone. If you're looking for a dedicated plugin that handles Sun Vs Sky work, there's Topaz Photo AI which has some decent sky restoration features, and Exposure X7 also has solid sky tools. But honestly, learning to do this manually in Photoshop will serve you better long-term. Plugins save time now but you'll hit walls when the client sends something unusual.

Common Pitfalls to Avoid

Don't overdo the sun rays. Everyone thinks adding lens flare and god rays everywhere makes it look epic. It doesn't. It looks like a screensaver. Real sun rays are subtle and directional. Use a subtle linear gradient on a new layer set to Soft Light and paint them in gently. Less is more. Don't ignore the horizon line. If your original photo has a hazy or bright horizon from the overcast conditions and you replace the sky with something much darker or more saturated, that horizon line will become a hard seam. I usually add a gradient overlay that matches the new sky's color and blends it into the horizon area to smooth that transition. The biggest pitfall though is not checking your work at different sizes. A composite that looks fine at 100% zoom on your monitor will fall apart when shrunk down to web size or printed. Always view your work at 50% or smaller to catch halo errors and masking mistakes before you deliver.

Sun vs Sky 시청하기
Sun vs Sky 시청하기

When This Approach Fails Completely

Sun Vs Sky compositing isn't a universal fix. If your original photo has heavy fog or precipitation in the sky area, there's simply not enough information to work with. No amount of skill will let you composite a clear blue sky onto a photo where the sky is pure white fog. In those cases, you're better off suggesting the client reshoot or just doing a full sky swap with a completely artificial sky image rather than trying to preserve the original. Similarly, if the foreground subject has strong colored reflections from the current sky — like a red tint on wet rocks from a sunset — and you're swapping to a blue midday sky, the reflections won't match. I've had to repaint those reflections from scratch in those situations, which adds hours to the job. Sometimes it's easier to just decline the work or charge accordingly. There's also the question of resolution. If you're working with a small web-sized image and the client wants it blown up for a large print, the composite work becomes exponentially harder because every flaw gets. I always ask about the final output size upfront and adjust my approach based on that.

Quick Summary of the Process

Capture a properly exposed sky base photo. Get a separate sun exposure at a fast shutter speed. Layer the sun using Screen or Linear Light blend mode. Mask carefully around complex edges using Select and Mask with the Refine Edge brush. Adjust foreground color temperature to match the new sun. Paint in directional shadows if needed. Check at multiple sizes before delivering. The whole process for a standard image takes me about an hour to an hour and a half depending on complexity. A simple sky swap might be twenty minutes. Something with tricky branch silhouettes and reflection matching can take three hours or more. Don't underquote these jobs. I've done this enough times now that I can usually tell within thirty seconds whether a photo is a good candidate for Sun Vs Sky treatment or if it's going to be a painful exercise. That experience comes from making the same mistakes repeatedly and learning from them. If you're just starting out, expect to spend more time than I do and still end up with something that looks slightly off at first. That's normal. Keep refining and you'll get there.