dimanche 19 juin 2011

how to use layer masks to create the effect of one image gradually fading into another

Be The First To Comment
Have you ever wanted to create an image that depicts two separate images fading into each other?
One image fading into another
This is a nice professional effect that's easy to create using Photoshop's Layer Masks. This tutorial shows you how it's done.

Open the two images in Photoshop

We're going to use the following two images from our ImageKits in this tutorial:
Books
Clouds
Open these two images in Photoshop. They'll appear as two separate documents.

Put the images into one document

So that we can do the fade between the images, we'll need them both in the same document. The easiest way to do this is to shift+click on the "Background" layer in the "books" document, and drag the layer on top of the "clouds" document:
Putting the two images into one document
(Holding down the shift key ensures that the "books" image will appear in the centre of the "clouds" document.)
You should then have both your image layers in the "clouds" document, as follows:
Two layers in one document

Add a layer mask

We'll now create a layer mask on the "books" layer. A layer mask behaves just like a regular mask, but it is attached to a specific layer. As with a normal mask, dark areas of the mask hide the underlying layer, while light areas of the mask reveal the underlying layer.
To create the layer mask, make sure the "books" layer ("Layer 1") is selected in the Layers palette, then select Layer > Add Layer Mask > Reveal All:
Adding a new layer mask
You can see that the layer now has a layer mask attached to it (the white thumbnail to the right of the layer thumbnail). Also, note that the mask is highlighted with a white rectangle around it - this means that you are now working on the mask, rather than the layer image. (You can click on the layer thumbnail and mask thumbnail to switch between the two.)

Fill the layer mask with a gradient

We're now going to fill the layer mask with a gradient fill, going from white in the top left corner to black in the bottom right corner. Remember that white areas allow the layer to show through, and black areas hide the layer, making the underlying layer visible. This is how we will achieve our fade effect!
With Layer 1's layer mask still selected in the Layers palette, select the Gradient tool:
The gradient tool
Select the "Linear" gradient type and, from the drop-down colour box, choose the "Black, White" swatch:
Choosing a gradient type
Now, click and drag in the document window from the bottom right of the image to the top left, to create the gradient fill:
Filling with the gradient fill
You should now see the finished effect, with one image smoothly fading into the other!
The finished fade

Tweaking the fade effect

If you're not happy with the fade effect, you can play with the layer mask to achieve the desired result. Remember that the layer mask can be edited and drawn upon, just like a regular bitmap image!
For example, to produce a sharper transition, increase the contrast of the layer mask (Image > Adjust > Brightness/Contrast...):
Tweaking the contrast
You might also like to try playing with the various blending modes for Layer 1, or applying different filters to the layer mask, until you get the effect you're after.
Enjoy! :)

produce great graphics in Photoshop.

Be The First To Comment

Topics in Photoshop

Paths and the Pen Tool

Learn the ins and outs of Photoshop's powerful vector editing capabilities in this comprehensive series of tutorials.

Using Photoshop's Selection Tools

Explore all the different ways to select pixels in Photoshop. In these articles you look at the marquee tools, the lasso tools, the Quick Selection tool, the Magic Wand tool, the Color Range command, the Quick Mask mode, and lots more besides.

Articles in Photoshop

The New Photoshop: What We Need in a Proper Next-Generation Digital Design Tool - Article 3 March 2011

Photoshop has become the de facto imaging standard, but it's arguably not well suited to web design work. In this article, Simon imagines what a next-generation digital design application would look like.
 

© 2011 Photoshop TUTO - Designed by Mukund | ToS | Privacy Policy | Sitemap

About Us | Contact Us | Write For Us