Saturday, January 15, 2011

Adding Reflections To Sunglasses In Photoshop

Adobe Photoshop tutorial image.


Here's the image I'll be using for this Photoshop tutorial:

Adobe Photoshop tutorial image.
Photoshop Sunglasses Reflection: The original image.

If we look closely, we can see that there already is a faint reflection in her sunglasses, and it looks like she's standing on the side of a road if I'm not mistaken. To me, she could just as easily be standing on a tropical beach, so we're going to give her more mirror-like reflective lenses and have her looking towards the water instead by using this photo:

Adobe Photoshop tutorial image.
Photoshop Sunglasses Reflection: A photo of a tropical beach.

Step 1: Select One Of The Lenses

We need to work on one lens at a time, so let's begin with the lens on the left (our left, her right). To complete the work on the other lens, all we'll need to do is repeat the same steps we're about to do. First, we need to select the lens, so select around the outside of it using the selection tool of your choice (Lasso Tool, Pen Tool, etc.):

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Select around the outside of the lens on the left using the Photoshop selection tool of your choice.

Step 2: Create A New Blank Layer

With the lens selected, click on the New Layer icon at the bottom of the Layers palette to add a new blank layer above the original Background layer, which is the layer that contains our original image:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Add a new layer by clicking on the "New Layer" icon.

Photoshop adds a new layer above the Background layer and automatically names it "Layer 1". Double-click directly on the layer's name in the Layers palette and rename it to "left lens" to make it easier for us to keep track of what we're doing (it's always a good idea to name your layers):

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: A new layer is added above the Background layer. Rename the layer "left lens".

Step 3: Fill The Selection With Black On The New Layer

With the "left lens" layer selected (the currently selected layer is highlighted in blue in the Layers palette), press the letter D on your keyboard to reset your Foreground and Background colors if necessary so black becomes your Foreground color (white becomes your Background color), then use the keyboard shortcut Alt+Backspace (Win) / Option+Delete (Mac) to fill the selection we made with black:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The left lens now appears filled with solid black.

Press Ctrl+D (Win) / Command+D (Mac) when you're done to deselect the selection.

It looks like we've filled the left lens with black, but since we're using layers and we've filled the selection on a layer above the Background layer, our original image isn't affected at all. The black filled selection area and the original photo are completely separate from each other.


Step 4: Drag The Second Image Into The Document

At this point, we need to bring in the image we're going to be using as the reflection in the sunglasses, so open your second image in Photoshop if it's not open already and have both images displaying in their own separate document windows on the screen (you can cycle through the various screen modes for each document by pressing the letter F on your keyboard). Press V to quickly select Photoshop's Move Tool, then simply click anywhere inside the second image and drag it into the sunglasses document:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Use the Move Tool to drag the second image into the main sunglasses document.

If we look in our Layers palette, we can see that the second image has been added on a new layer above the "left lens" layer. Double-click on the layer's name and rename it to "left reflection":

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The second image has been added on a new layer at the top of the Layers palette. Rename the new layer "left reflection".

Step 5: Create A Clipping Mask

Currently, the image on the "left reflection" layer is blocking much of the sunglasses image from view. What we want is for it to appear only inside the left lens, and we can do that easily by using the "left lens" layer as a clipping mask for the "left reflection" layer above it. What this means is, the only area of the tropical beach photo that will remain visible is the area sitting above the black-filled area on the layer below it. Any areas of the tropical beach photo that are sitting above any transparent areas on the "left lens" layer below it will be hidden from view.

To create the clipping mask, with the "left reflection" layer selected in the Layers palette, go up to the Layer menu at the top of the screen and choose Create Clipping Mask, or use the keyboard shortcut Alt+Ctrl+G (Win) / Option+Command+G (Mac). Either way turns the "left lens" layer into a clipping mask for the "left reflection" layer above it, and the tropical beach photo (or whatever photo you happen to be using) is now sitting nicely inside the left lens:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The tropical beach photo now appears inside the left lens.

If we look in our Layers palette, we can see that the "left reflection" layer now appears indented to the right, with a small arrow pointed down towards the "left lens" layer below it, which indicates that the "left reflection" layer is now being clipped by the "left lens" layer:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Photoshop's Layers palette showing the "left reflection" layer being clipped by the "left lens" layer below it.

Step 6: Resize And Reposition The Image With Free Transform

Now that our reflection image is inside the left lens, let's resize it and reposition it. We can do both of those things at once using Photoshop's Free Transform command, so press Ctrl+T (Win) / Command+T (Mac) to bring up the Free Transform box and handles around the second image. Even though we can only see the part of the image that's inside the lens, Photoshop places the Free Transform box and handles around the actual dimensions of the image. If you can't see some of the handles because they're outside of the viewable area inside the document window, press F on your keyboard to switch your view mode to Full Screen Mode With Menu Bar, which will allow you to see all of the Free Transform handles (press F a couple more times when you're done with Free Transform if you want to switch back to the document window view mode). Then simply drag any of the corner handles inward to resize the image. Hold down Shift as you're dragging to constrain the proportions of the image, and hold down Alt as you drag if you want Photoshop to resize the image from its center:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Resize the image by dragging any of the corner handles. Hold "Shift" to constrain the image proportions and "Alt" (Win) / "Option" (Mac) to resize the image from its center.

If you need to rotate the image, move your mouse outside any of the corner handles. You'll see your mouse cursor change to a curved line with a small arrow on each end. Simply click and drag with your mouse to rotate the image.

To move the image, click anywhere inside the Free Transform box and move the image around with your mouse. Just don't click on the small target icon in the center, otherwise you'll move the target icon, not the image. Press Enter (Win) / Return (Mac) when you're done to accept the transformation. Here's my image after moving and resizing my tropical beach photo inside the lens:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The image serving as the reflection has now been moved and resized.

Step 7: Add An "Inner Shadow" Layer Style

Let's add a bit of a shadow to the reflected image so it looks like it's part of the lens and not just sitting on top of it. Click back on the "left lens" layer in the Layers palette to select it, then click on the Layer Styles icon at the bottom of the Layers palette:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Click on the "left lens" layer to select it, then click on the "Layer Styles" icon.

Select Inner Shadow from the list of Layer Styles that appears:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Select "Inner Shadow" from the list.

This brings up Photoshop's Layer Style" dialog box set to the Inner Shadow options in the middle column. I want my shadow to appear mainly in the top right corner of the lens so I'm going to set my Angle to 65°. You may want to set yours to a different angle. Set the Distance option to 1 px and lower the Size option down to about 3 px:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Change the Inner Shadow options circled in red above.

Here's my lens after applying the Inner Shadow:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The left lens now has a subtle shadow appearing from the top right corner.

Step 8: Apply The "Spherize" Filter

Right now, the image we're using for our reflection is completely flat, but most lenses have a slight curve to them, so let's add that slight curve to our reflection image. Click on the "left reflection" layer in the Layers palette to select it. Then hold down Ctrl (Win) / Command (Mac) and click directly on the thumbnail for the "left lens" layer in the Layers palette:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Select the "left reflection" layer, then "Ctrl-click" (Win) / "Command+click" (Mac) directly on the "left lens" thumbnail in the Layers palette.

This will load a selection around the lens back into the document:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: A selection around the left lens now appears back in the document.

We're going to be applying the Spherize filter to the "left reflection" layer, and by loading this selection first, this allows us to apply the filter only to the area inside the selection, rather than applying it to the entire layer.

Now that we've loaded the selection, go up to the Filter option at the top of the screen, choose Distort, and then choose Spherize. When the Spherize filter dialog box appears, select Horizontal Only for the Mode option at the bottom, then use the slider to raise the Amount to around 25-30%. I'm going to raise mine to 30% since her lenses seem to have quite a bit of curve to them:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Photoshop's Spherize filter dialog box.

Click OK when you're done to apply the filter and exit out of the dialog box. Press Ctrl+D (Win) / Command+D (Mac) when you're done to deselect the selection. Here's my image after applying the Spherize filter to the image inside the left lens. The difference is subtle, but it's usually the small things that make the difference between something that looks realistic and something that doesn't:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The image after applying the Spherize filter to the photo inside the left lens.

Step 9: Duplicate The "Left Reflection" Layer

With the "left reflection" layer still selected, use the keyboard shortcut Ctrl+J (Win) / Command+J (Mac) to duplicate the layer. A copy of the layer, which Photoshop names "left reflection copy", appears above it in the Layers palette. Click on the new layer's name and rename it to "multiply" (you'll see why in a moment):

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Duplicate the "left reflection" layer and rename it "multiply".

Step 10: Set The New "Multiply" Layer To Be Clipped By The "Left Lens" Layer

When we duplicated the "left reflection" layer, Photoshop created a copy of it for us but left us with a small problem. The original "left reflection" layer is being clipped by the "left lens" layer below it, but the copy we just created is not being clipped, which means it's not being confined to the inside of the lens and is currently just sitting there on top of the original image. All we need to do to fix that is do the same thing we did with the original "left reflection" layer. Either go up to the Layer menu and choose Create Clipping Mask or use the keyboard shortcut Alt+Ctrl+G (Win) / Option+Command+G (Mac) to clip the "multiply" layer to the "left lens" layer so the only part remaining visible is the area inside the lens. We can now see in the Layers palette that both the original "lens reflection" layer and the "multiply" layer are being clipped by the "left lens" layer below them:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The Layers palette showing the "left reflection" and "multiply" layers being clipped by the "left lens" layer below them.

Step 11: Change The Layer Blend Mode To "Multiply"

The reason we renamed the new layer to "multiply" is because we're going to change it's layer blend mode to Multiply, which is going to enable us to darken the image inside the lens so it's not so bright. To do that, simply go up to the blend mode option in the top left corner of the Layers palette, click on the down-pointing arrow to the right of the word "Normal" and select "Multiply" from the list:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Change the blend mode of the top layer to "Multiply".

As soon as you change the blend mode, the image inside the lens appears much darker:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The image inside the lens now appears darker after changing the blend mode.

If you find the image inside the lens now appears too dark, simply go up to the Opacity option in the top right corner of the Layers palette and lower the opacity of the "multiply" layer until you've brightened the image back up to the point where you're happy with the results. Or, if you want to make the image even darker, click on the "left reflection" layer to select it and lower it's opacity value. By lowering the opacity of the "left reflection" layer, you begin to mix in some of the solid black from the "left lens" layer below it (which is why we filled our lens selection with black earlier in the tutorial). Here I've lowered the opacity of the "left reflection" layer to 80% to mix in just a hint of the black from the "left lens" layer:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Lower the opacity of the "multiply" layer to brighten the reflected image back up, or lower the opacity of the "left reflection" layer to darken it even further.

My reflected image now appears even darker, giving the lens a tinted look to it:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The reflected image inside the lens is slightly darker, giving the lens a tinted appearance.

It's entirely a judgment call on your part how dark to make the reflection, if you even want to darken it at all.

Step 12: Select The Gradient Tool With A White-To-Transparent Gradient

To finish off our work on the left lens and give it a bit more of a three dimensional, curved appearance, let's add a highlight to it, as if the sun is reflecting off of it. I'm going to add it in the top right corner of the lens. To do that, we need the Gradient Tool, so select it from the Tools palette or press G to select it with the keyboard shortcut:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Select the Gradient Tool.

We want to add a white-to-transparent gradient, so press the letter X on your keyboard to swap your Foreground and Background colors, making white your Foreground color. Then with the Gradient Tool selected, right-click (Win) / Control-click (Mac) anywhere inside the document to bring up the Gradient Picker and select the gradient second from the left, top row:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Choose the white-to-transparent gradient from the Gradient Picker.

Step 13: Load A Selection Once Again Around The Lens

Hold down your Ctrl (Win) / Command (Mac) key and click directly on the thumbnail for the "left lens" layer in the Layers palette to once again load a selection around the lens:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: "Ctrl-click" (Win) / "Command-click" (Mac) directly on the "left lens" thumbnail to again load a selection around the lens in the document.

Step 14: Add A New Layer At The Top Of The Layers Palette

Make sure the top layer (the "multiply" layer) is currently selected in the Layers palette, then click on the New Layer icon at the bottom of the Layers palette to add a new blank layer above all the others. Rename the new layer "highlight":

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Add a new blank layer at the top of the Layers palette and rename it "highlight".

Step 15: Drag Out A White-To-Transparent Gradient On The "Highlight" Layer

To add the highlight, I'm simply going to drag out a white-to-transparent gradient on the "highlight" layer, starting from the top right corner of the lens and extending downward diagonally towards the center:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: Dragging out a gradient from the top right corner of the right lens down towards the center.

Release the mouse button and Photoshop draws the white-to-transparent gradient, adding the highlight to the lens. Since we had a selection around the lens, the gradient is confined to the area inside the lens. Press Ctrl+D (Win) / Command+D (Mac) to deselect the selection. Here's my image after adding my highlight in the top right corner of the lens:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The highlight added to the left lens.

Step 16: Repeat The Same Steps For The Other Lens

We've completed work on the left lens. Now we just need to add the reflection to the right lens, and to do that, we simply repeat all the steps we've just done for the other lens:

  1. Select the right lens
  2. Add a new layer and name it "right lens"
  3. Fill the selection with black
  4. Drag the second image into the sunglasses document and rename its layer "right reflection"
  5. Create a clipping mask to clip the "right reflection" layer to the "right lens" layer below it
  6. Use Free Transform to resize and reposition the image inside the lens
  7. Add an "Inner Shadow" layer style to the "right lens" layer
  8. Apply the "Spherize" filter to the "right reflection" layer
  9. Duplicate the "right reflection" layer and rename it "multiply"
  10. Change the blend mode of the duplicate layer to "Multiply"
  11. Lower the opacity of the new "multiply" layer to brighten the image back up or lower the opacity of the "right reflection" layer to make it even darker.
  12. Add a highlight in the top right corner of the right lens with the Gradient Tool and a white-to-transparent gradient

Keep in mind as you're repositioning the image in the right lens with the Free Transform command that the reflection in the right lens should be coming from a slightly different angle than the reflection in the left lens, so to make things look more realistic, adjust the position of the right reflection so it appears a bit off center from the left one. Once you've repeated all the steps for the right lens, you're done!

Here, for comparison, is my original image once again with the original reflection in the sunglasses:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The original image once again.

And here, after repeating all the steps for the right lens, is my final result. When repeating the steps for the right lens, I only lowered the opacity of the "right reflection" layer to 90% rather than the 80% I lowered the "left reflection" layer to, and the reason for it is that her face seems to be tilted away slightly from the direction of the sun so I made the reflection in the lens closest to the sun appear slightly brighter, again just to add a touch more realism:

Adobe Photoshop tutorial Photoshop effects image.
Photoshop Sunglasses Reflection: The final result.

And there we have it!



Skull Manipulation in Photoshop Tutorial

skull manipulation 12

In this tutorial we are going to take a normal face and turn it into an undead cyborg! First we need a good face to work with, I found this one on http://www.sxc.hu/

skull manipulation 1

Next we need a good skull, you can use the one I found below.

skull manipulation 2

Copy both images onto your canvas. Next we need to position our skull in line with our man's face. To do this, reduce, the opacity of your skull layer and rotate/transform it accordingly. When you have found a good spot for it, bring the opacity back up to 100%, and place the skull layer below your face layer.

skull manipulation 3

Now that our skull is in line, and below our face, we need to delete some parts of the face to reveal the skull below. Take out of pen tool, and make a selection similar to mine. Once you have a nice area selection, right click and choose "make selection" and enter a value of 0px.

skull manipulation 4

Once you have your area selection, press delete to reveal the skull below.

skull manipulation 5

Create a new layer in between your skull and face layers, we are going to create a dropshadow. Ctrl+Click your face layer to get a selection, and fill you selection with black. De-select, and choose Filter > Blur > Gaussian Blur. You should have something similar to mine. Depending on where you want your light coming from, you can move your shadow slightly. For example, I moved it a few pixels downward and to the right.

skull manipulation 6

Ctrl+Click your face layer again to get a selection. Contract your selection by 4 pixels by choosing Select > Contract and entering a value of 4. Inverse your selection by choose Select > Inverse. You should now how a selection similar to mine.

skull manipulation 7

What we are going to do is lighten and darken the borders of our opening to give it some depth. To idea is to lighten portions to the south-east, and darken portions to the north-west. For example, I took my polygon tool and delete the enter right/bottom portion of my selection, as seen below, and then darkened the selection by choosing Image > Adjust > Brightness contrast.

skull manipulation 8

Repeat this process, but this time deselect the portion that your darkened earlier, and lighten your selection. You should have something similar to mine.

skull manipulation 9

Next I used my paintbrush tool to fill in the blank spots in my skull layer with black. You can see that inside the eye socket and to the right of the teeth there are brown areas where the background are showing though, fill these with black and darken the areas a bit with the dodge tool.

skull manipulation 10

Next I merged my layers by choosing Layer > Flatten Image. I then desaturated my image a bit by choosing Image > Adjust > Hue Saturation, and moving the saturation bar to the left. Next a create a new color layer, and colored my eye red. Finally I added a small lens flare with the Filter > Render > Lens Flare filter in my eye.

skull manipulation 11

Add some borders and add your text and your finished! Here is how mine turned out.

skull manipulation 12

Create A Collage of Photos From One Picture


Here's the before:

Here's the after:


(You can use it for this tutorial if you would like to). Let's get started!


001.First open up your image & do a ctrl+j. That copies the background layer. It should look like this:


002.With "Layer 1" selected, hold down the ctrl key & click on the "New Layer" icon in the layers' palette. A new layer should appear in between "Layer 1" & your "Background" layer.


003.Now, reset your foreground & background colors if you need to. You can do that by pressing "D" on your keyboard. To see if your fg & bg colors are reset, just check it in your tools palette. The black will be the background of the picture & the white will be the polaroid's color.


004.With black as the foreground color and the new blank layer selected, fill the new layer with black by doing an alt+backspace. it might look like nothing happened to your image but if you look at "Layer 2," you'll notice it will be black.


005.Now, with "Layer 2" selected, click on the "New Layer" button to create a layer between "Layer 1" & "Layer 2."


006.Then select the Rectangle Marquee Tool from your tools palette & select something from the picture you want to appear.


007.For my example, I did Drake's face.


008.Now, have your "Layer 3" selected & do an atl+backspace. That will make the area where I selected Drake's face black... on the layer in the layer's palette.


009.With "Layer 1" selected, go Layer>Create Clipping Mask.


010.Your picture should look like this:


011.Your layer should look like this: (the arrown indicates that the layer is being clipped to the layer below).


012.With "Layer 2" selected, click on the "Create New Layer" button. You should have this in your layers palette now:


013.Okay now get your Rectangle Marquee Tool again & make another square around the first rectangle you made. This will make the white part of your polaroid. You should end up with something like my screenshot below.


014.With "Layer 4" selected, do a ctrl+backspace to fill the selection with white. Then deselect it by doing a ctrl+d. It should look like this:


15.If you want a drop shadow to your polaroids, select your "Layer 4" & click on the Layers Styles button & select "Drop Shadow." You won't see the effect right now but you will when you have your final result. Apply the following settings when the screen pops up.
Opacity: 30
Angles: 120
Then click OK.


016.Now we're going to rotate the polaroid. You have to select "Layer 3" & "Layer 4." You can do this by clicking on "Layer 4" & then holding shift WHILE clicking on "Layer 3." Or if that doesn't work for you, another way you can do it is by doing the same thing but instead of holding down shift, you can hold down Ctrl. If you have a Mac you have to use ImageReady and when you go to select the layers, hold down the apple key and click on the layers.


017.Do a crtl+t & now there will be a like rectangle around the polaroid. If you point your cursor at one of the corners, then you will get an arrow that is kind of curved. When you see that, click & rotate the polariod, just like my example below.


018.Now, select "Layer 1," "Layer 3," & "Layer 4". Do a ctrl+g. That will group those layers.


019.In order to make another polaroid, select your "Group 1" & drag it to the Create New Layer button.


020.you should have a "Group 1 Copy" layer.


021.In order to make another polaroid, click on the little arrow in front of "Group 1 Copy." Then select "Layer 3 Copy" & "Layer 4 Copy."


022.Do a ctrl+t & another polaroid should appear on top of your first one. Just click on it & drag it to the part of your picture you want to show.


023.You can also rotate it if you want to.


024.Just repeat steps 20-24 to add more polaroids. You should end up with something like this: