How to replace the sky in a photo in Affinity Photo

Mother Nature doesn’t always deliver the perfect sky. This Affinity Photo tutorial will show you how to replace drab skies with vibrant clouds, colors, or entirely new backgrounds. Learn how to replace the background to dramatically change the mood of your photos. 

1. How to add clouds to a sky

First, let’s look at the quickest way to replace the sky, which is to add clouds! This method will work best for shots where the sky is just a little too flat and could use some detail. In this example, we will be adding a bit of a twist to our clouds. But the technique is the same, whether you want a dark sky replacement photo effect or a straight-up twister. 

Step 1

Start by dragging and dropping the strange stormy sky stock image onto the canvas, over our beach image. Crop the image to add a bit more room for the cloudy sky. 

place base image place base image place base image

Step 2

Make sure the horizon line of each photo matches up reasonably closely. You can temporarily bring down the Opacity of the storm clouds if needed to line everything up. 

match horizon lines match horizon lines match horizon lines

Step 3

Next, add a Layer Mask to the storm clouds. Then, with a large, soft, round Brush, mask out the bottom half of the cloud image.

As both photos have a grey hue to them, they will blend beautifully with each other. With this method, I suggest choosing a sky that is similar in tone to the original image if you’d like to save some time on blending. 

mask sky mask sky mask sky

Step 4

Finish blending the two images by adjusting the color, brightness, and contrast of both the clouds and the original image if needed.

Here, I darkened and upped the contrast of both the base image and clouds using a Brightness/Contrast layer, while also desaturating the base image using a black and white gradient map adjustment layer. 

I then committed to the “storm of the century” vibe by adding both green and blue hues to the image with a Color Balance and S curve Curves layer. 

Brightness/Contrast settings 

  • Brightness: -38%
  • Contrast: 19%

Gradient Map settings 

  • Black to White 
  • Opacity: 47%

Color Balance settings 

  • Red: -33%
  • Green: 51%
  • Blue: 59%

Curves settings 

curves curves curves
final layers final layers final layers

2. How to create a sunset photo effect

Next, let’s amp it up a notch by creating a substantially more dynamic sky mixed with a reflective surface.

Step 1

First, let’s crop our beach image to increase the sky. I’ll opt for less land, so we have an equal mix of sky, water, and earth. 

place image place image place image

Step 2

Now, drop in the sky replacement. Once again, just like in the previous image, line up the horizons.

match horizon lines  match horizon lines  match horizon lines

Step 3

Add a Layer Mask just as we did with the last sky, only this time we’ll be a bit more precise with our masking.

I’m still going to use a soft brush, but it’s much smaller. I’m blending the horizon line almost seamlessly with the new sky. 

mask out sky mask out sky mask out sky

Step 4

Duplicate the sky image, delete the layer mask, and set the layer to Overlay. Bring down the layer Opacity to 50%. 

Next, add a new Layer Mask to the sky, masking out all but the top quarter of the water. 

overlay sky overlay sky overlay sky

Step 5

Now, repeat that same step, only this time setting the layer to Soft Light.

Again, delete and then add a new Layer Mask to the duplicated sky. Mask out any area of the sky that’s touching the land or the frothy white parts of the water. 

soft light sky soft light sky soft light sky

Step 6

Let’s finish this beautiful beach day off by bringing the stark blue of the sky into both the water and land using a Color Balance layer.  

Color Balance settings

  • Red: -16%
  • Blue: 53%
color balance  color balance  color balance

3. How to extract a mountain range 

When quick blending and layer mode magic won’t do the trick on their own, you may have to remove one sky altogether to place the other. Compositing is also the ideal solution if you are going for something more stylistic, surreal, or fantasy inspired.

Step 1

As with the last image, we want to have a bit more sky than before, so crop the canvas to give us more vertical space. 

place landscape place landscape place landscape

Step 2 

Now, let’s extract the sky from the original image. The best results would come from masking out the sky by hand using just a simple Brush and Layer Mask combo. However, use your preferred method for extraction. For a quick extract job, I like to rely on the Refine Mask tool.

Use the Flood Select Tool to create a quick selection and mask of the sky.

flood select and mask  flood select and mask  flood select and mask

Step 3

Then, right-click on the mask and select Refine Mask to refine and smooth the mask. 

refine mask refine mask refine mask
refine mask results refine mask results refine mask results

Step 4

You can also use the Select > Grow/Shrink function to get rid of any pesky unwanted edges. Set the Radius to -1 px and then mask out the selection. 

This is an excellent method to use when your image will be a backdrop or you need to mock something up quickly. Otherwise, zoom in real close, and mask that bad boy out by hand! 

Go ahead and place the new sky behind the mountain range for now as well. 

final layers final layers final layers

4. How to create sunrise lighting effects

Next up, let’s lay down our highlights. You will likely do the bulk of your highlights on layers set to Screen, but you can also play with other layer modes like Color Dodge, Soft Light, or Overlay. The Curves layer is also a great tool to use for creating or enhancing highlights.

Step 1

Create a new layer set to Screen, and paint some ambient light focused on the horizon line.

Keep the brush very large with a low Flow rate so you can build up the color slowly. Color pick a color from the new sky—in my case, pale yellow and orange.

add screen light add screen light add screen light

Step 2

Repeat this step on a layer clipped inside your landscape to help connect and blend the two images.

The lighting on this layer will be more focused if you have a rising sun or any bright light source, as I do.

ad inner screen light ad inner screen light ad inner screen light

Step 3

Repeat the above step behind the mountainscape as well.

Every landscape will be different, and every sky a different time of day. If you are unsure how you should paint in your lighting, look up some references of a similar environment to get a better idea.

add backdrop screen light add backdrop screen light add backdrop screen light

5. How to create shadow effects

For shadows, I recommend the use of layers set to Multiply or Soft Light, along with Brightness/Contrast and Curves adjustment layers. 

Step 1

Let’s start with a Brightness/Contrast adjustment layer clipped into the mountains to darken everything and lower the contrast, as shaded areas will usually have less contrast than lit areas.

Brightness/Contrast settings

  • Brightness: -84%
  • Contrast: -42%
darken mountains darken mountains darken mountains

Step 2

Next, go in and mask out all the areas where the light source would be hitting. Use the original lighting to guide you.

You may be able to skip this step if the light in your image is not as intense as it is in this particular image.
mask shadows mask shadows mask shadows

Step 3

You can also paint in shadows using just a brush on a layer set to Multiply. I like to set the layer Opacity to 50%, but it depends on how deep you want your shadows to be.

When painting shadows, avoid using black as shadows are hardly ever flat black. Instead, use a darker, desaturated version of the color you’re painting on. For instance, I could use dark brown on these mountains.

Blue is also an excellent color to choose in this particular scene. Blue and orange are contrasting colors, so they pair very well together. 

add deeper shadows add deeper shadows add deeper shadows

Step 4

One of my best friends when it comes to compositing landscapes is the layer Blend Options.

blend options blend options blend options

Here you can tell a layer how much it should show up on light or dark areas. I don’t want these shadows to cover and darken the highlights of the image beneath, so I can drag the point on the right-hand curve to control the range of light.

bring down curve point bring down curve point bring down curve point

The further I pull, the less it will show on the lighter areas of the image beneath. You can further refine this by adding more points to the curve and adjusting them. 

add second curve point add second curve point add second curve point

You can also use this tool to pinpoint highlights or color. It’s a tool best learned by just playing with it and seeing what it can do.

final layers final layers final layers

6. How to create a sunset color grade

Finally, it always helps to add a few adjustment layers over everything to tie it all together. 

Step 1

First, let’s add an S curve for some added contrast, along with bringing up the blues and reds in the shadows.

Curves settings

curves curves curves
curves results curves results curves results

Step 2

Next, create a masked Color Balance adjustment layer, adding blue to the outer edges of the image and one to bring more oranges into the innermost area of the image. 

Color Balance settings

  • Red: -25%
  • Green: -20%
  • Blue: 22%
outer color balance  outer color balance  outer color balance

Step 3

Finally, create a second masked Color Balance adjustment layer, bringing more yellows and reds into the innermost area of the image. 

Color Balance settings

  • Red: 23%
  • Green: -28%
  • Blue: -77%
inner color balance  inner color balance  inner color balance

And there you have it! 

While sometimes adding a few fluffy white clouds will do the trick, don’t be afraid to try changing up the whole mood of a photo by switching from a bright blue sky to a set of ominous clouds rolling in. Or create an entirely new alien atmosphere full of stars and planets. Every photo has a story to tell, and you can change the whole narrative just by choosing one sky over another. The sky is not the limit, after all!

Follow along with us over on the Envato Tuts+ YouTube channel:

As always, keep experimenting with different techniques and practicing!

final result final result final result

How to replace the sky (and any object) in a photo using Envato ImageEdit

Envato AI ImageEditEnvato AI ImageEditEnvato AI ImageEdit

Envato AI ImageEdit simplifies photo editing for everyone, offering tools that make complex tasks easy for both beginners and experts. This tool, along with the rest of the AI tools from Envato, is included in your subscription with unlimited use (this is not included on Enterprise plans)

To use this feature, just open an image image within Envato’s AI ImageEdit platform and select the Replace tool.

Looking to learn more? Why not check out the following photo manipulation tutorials:


This content originally appeared on Envato Tuts+ Tutorials and was authored by Abbey Esparza

Mother Nature doesn't always deliver the perfect sky. This Affinity Photo tutorial will show you how to replace drab skies with vibrant clouds, colors, or entirely new backgrounds. Learn how to replace the background to dramatically change the mood of your photos. 

1. How to add clouds to a sky

First, let's look at the quickest way to replace the sky, which is to add clouds! This method will work best for shots where the sky is just a little too flat and could use some detail. In this example, we will be adding a bit of a twist to our clouds. But the technique is the same, whether you want a dark sky replacement photo effect or a straight-up twister. 

Step 1

Start by dragging and dropping the strange stormy sky stock image onto the canvas, over our beach image. Crop the image to add a bit more room for the cloudy sky. 

place base image place base image place base image

Step 2

Make sure the horizon line of each photo matches up reasonably closely. You can temporarily bring down the Opacity of the storm clouds if needed to line everything up. 

match horizon lines match horizon lines match horizon lines

Step 3

Next, add a Layer Mask to the storm clouds. Then, with a large, soft, round Brush, mask out the bottom half of the cloud image.

As both photos have a grey hue to them, they will blend beautifully with each other. With this method, I suggest choosing a sky that is similar in tone to the original image if you'd like to save some time on blending. 

mask sky mask sky mask sky

Step 4

Finish blending the two images by adjusting the color, brightness, and contrast of both the clouds and the original image if needed.

Here, I darkened and upped the contrast of both the base image and clouds using a Brightness/Contrast layer, while also desaturating the base image using a black and white gradient map adjustment layer. 

I then committed to the "storm of the century" vibe by adding both green and blue hues to the image with a Color Balance and S curve Curves layer. 

Brightness/Contrast settings 

  • Brightness: -38%
  • Contrast: 19%

Gradient Map settings 

  • Black to White 
  • Opacity: 47%

Color Balance settings 

  • Red: -33%
  • Green: 51%
  • Blue: 59%

Curves settings 

curves curves curves
final layers final layers final layers

2. How to create a sunset photo effect

Next, let's amp it up a notch by creating a substantially more dynamic sky mixed with a reflective surface.

Step 1

First, let's crop our beach image to increase the sky. I'll opt for less land, so we have an equal mix of sky, water, and earth. 

place image place image place image

Step 2

Now, drop in the sky replacement. Once again, just like in the previous image, line up the horizons.

match horizon lines  match horizon lines  match horizon lines

Step 3

Add a Layer Mask just as we did with the last sky, only this time we'll be a bit more precise with our masking.

I'm still going to use a soft brush, but it's much smaller. I'm blending the horizon line almost seamlessly with the new sky. 

mask out sky mask out sky mask out sky

Step 4

Duplicate the sky image, delete the layer mask, and set the layer to Overlay. Bring down the layer Opacity to 50%. 

Next, add a new Layer Mask to the sky, masking out all but the top quarter of the water. 

overlay sky overlay sky overlay sky

Step 5

Now, repeat that same step, only this time setting the layer to Soft Light.

Again, delete and then add a new Layer Mask to the duplicated sky. Mask out any area of the sky that's touching the land or the frothy white parts of the water. 

soft light sky soft light sky soft light sky

Step 6

Let's finish this beautiful beach day off by bringing the stark blue of the sky into both the water and land using a Color Balance layer.  

Color Balance settings

  • Red: -16%
  • Blue: 53%
color balance  color balance  color balance

3. How to extract a mountain range 

When quick blending and layer mode magic won't do the trick on their own, you may have to remove one sky altogether to place the other. Compositing is also the ideal solution if you are going for something more stylistic, surreal, or fantasy inspired.

Step 1

As with the last image, we want to have a bit more sky than before, so crop the canvas to give us more vertical space. 

place landscape place landscape place landscape

Step 2 

Now, let's extract the sky from the original image. The best results would come from masking out the sky by hand using just a simple Brush and Layer Mask combo. However, use your preferred method for extraction. For a quick extract job, I like to rely on the Refine Mask tool.

Use the Flood Select Tool to create a quick selection and mask of the sky.

flood select and mask  flood select and mask  flood select and mask

Step 3

Then, right-click on the mask and select Refine Mask to refine and smooth the mask. 

refine mask refine mask refine mask
refine mask results refine mask results refine mask results

Step 4

You can also use the Select > Grow/Shrink function to get rid of any pesky unwanted edges. Set the Radius to -1 px and then mask out the selection. 

This is an excellent method to use when your image will be a backdrop or you need to mock something up quickly. Otherwise, zoom in real close, and mask that bad boy out by hand! 

Go ahead and place the new sky behind the mountain range for now as well. 

final layers final layers final layers

4. How to create sunrise lighting effects

Next up, let's lay down our highlights. You will likely do the bulk of your highlights on layers set to Screen, but you can also play with other layer modes like Color Dodge, Soft Light, or Overlay. The Curves layer is also a great tool to use for creating or enhancing highlights.

Step 1

Create a new layer set to Screen, and paint some ambient light focused on the horizon line.

Keep the brush very large with a low Flow rate so you can build up the color slowly. Color pick a color from the new sky—in my case, pale yellow and orange.

add screen light add screen light add screen light

Step 2

Repeat this step on a layer clipped inside your landscape to help connect and blend the two images.

The lighting on this layer will be more focused if you have a rising sun or any bright light source, as I do.

ad inner screen light ad inner screen light ad inner screen light

Step 3

Repeat the above step behind the mountainscape as well.

Every landscape will be different, and every sky a different time of day. If you are unsure how you should paint in your lighting, look up some references of a similar environment to get a better idea.

add backdrop screen light add backdrop screen light add backdrop screen light

5. How to create shadow effects

For shadows, I recommend the use of layers set to Multiply or Soft Light, along with Brightness/Contrast and Curves adjustment layers. 

Step 1

Let's start with a Brightness/Contrast adjustment layer clipped into the mountains to darken everything and lower the contrast, as shaded areas will usually have less contrast than lit areas.

Brightness/Contrast settings

  • Brightness: -84%
  • Contrast: -42%
darken mountains darken mountains darken mountains

Step 2

Next, go in and mask out all the areas where the light source would be hitting. Use the original lighting to guide you.

You may be able to skip this step if the light in your image is not as intense as it is in this particular image.
mask shadows mask shadows mask shadows

Step 3

You can also paint in shadows using just a brush on a layer set to Multiply. I like to set the layer Opacity to 50%, but it depends on how deep you want your shadows to be.

When painting shadows, avoid using black as shadows are hardly ever flat black. Instead, use a darker, desaturated version of the color you're painting on. For instance, I could use dark brown on these mountains.

Blue is also an excellent color to choose in this particular scene. Blue and orange are contrasting colors, so they pair very well together. 

add deeper shadows add deeper shadows add deeper shadows

Step 4

One of my best friends when it comes to compositing landscapes is the layer Blend Options.

blend options blend options blend options

Here you can tell a layer how much it should show up on light or dark areas. I don't want these shadows to cover and darken the highlights of the image beneath, so I can drag the point on the right-hand curve to control the range of light.

bring down curve point bring down curve point bring down curve point

The further I pull, the less it will show on the lighter areas of the image beneath. You can further refine this by adding more points to the curve and adjusting them. 

add second curve point add second curve point add second curve point

You can also use this tool to pinpoint highlights or color. It's a tool best learned by just playing with it and seeing what it can do.

final layers final layers final layers

6. How to create a sunset color grade

Finally, it always helps to add a few adjustment layers over everything to tie it all together. 

Step 1

First, let's add an S curve for some added contrast, along with bringing up the blues and reds in the shadows.

Curves settings

curves curves curves
curves results curves results curves results

Step 2

Next, create a masked Color Balance adjustment layer, adding blue to the outer edges of the image and one to bring more oranges into the innermost area of the image. 

Color Balance settings

  • Red: -25%
  • Green: -20%
  • Blue: 22%
outer color balance  outer color balance  outer color balance

Step 3

Finally, create a second masked Color Balance adjustment layer, bringing more yellows and reds into the innermost area of the image. 

Color Balance settings

  • Red: 23%
  • Green: -28%
  • Blue: -77%
inner color balance  inner color balance  inner color balance

And there you have it! 

While sometimes adding a few fluffy white clouds will do the trick, don't be afraid to try changing up the whole mood of a photo by switching from a bright blue sky to a set of ominous clouds rolling in. Or create an entirely new alien atmosphere full of stars and planets. Every photo has a story to tell, and you can change the whole narrative just by choosing one sky over another. The sky is not the limit, after all!

Follow along with us over on the Envato Tuts+ YouTube channel:

As always, keep experimenting with different techniques and practicing!

final result final result final result

How to replace the sky (and any object) in a photo using Envato ImageEdit

Envato AI ImageEditEnvato AI ImageEditEnvato AI ImageEdit

Envato AI ImageEdit simplifies photo editing for everyone, offering tools that make complex tasks easy for both beginners and experts. This tool, along with the rest of the AI tools from Envato, is included in your subscription with unlimited use (this is not included on Enterprise plans)

To use this feature, just open an image image within Envato's AI ImageEdit platform and select the Replace tool.

Looking to learn more? Why not check out the following photo manipulation tutorials:


This content originally appeared on Envato Tuts+ Tutorials and was authored by Abbey Esparza


Print Share Comment Cite Upload Translate Updates
APA

Abbey Esparza | Sciencx (2019-08-12T05:36:49+00:00) How to replace the sky in a photo in Affinity Photo. Retrieved from https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/

MLA
" » How to replace the sky in a photo in Affinity Photo." Abbey Esparza | Sciencx - Monday August 12, 2019, https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/
HARVARD
Abbey Esparza | Sciencx Monday August 12, 2019 » How to replace the sky in a photo in Affinity Photo., viewed ,<https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/>
VANCOUVER
Abbey Esparza | Sciencx - » How to replace the sky in a photo in Affinity Photo. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/
CHICAGO
" » How to replace the sky in a photo in Affinity Photo." Abbey Esparza | Sciencx - Accessed . https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/
IEEE
" » How to replace the sky in a photo in Affinity Photo." Abbey Esparza | Sciencx [Online]. Available: https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/. [Accessed: ]
rf:citation
» How to replace the sky in a photo in Affinity Photo | Abbey Esparza | Sciencx | https://www.scien.cx/2019/08/12/how-to-replace-the-sky-in-a-photo-in-affinity-photo/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.