Mastering Photoshop Techniques: Layer Styles

Advertisement

Layer Styles are nothing new. They’ve been used and abused again and again. Despite their ubiquity, or perhaps because of it, many designers do not yet realize the full potential of this handy menu. Its beauty lies in our ability to create an effect and then copy, modify, export, hide or trash it, without degrading the content of the layer.

Below we present, step by step, several practical techniques to help you refine your designs, increase productivity and reduce layer clutter. You will find more useful Photoshop techniques and tutorials in our hand-picked selection, Best of Photoshop1 on Smashing Magazine.

Download the source files2 (.zip, 1.6 Mb).

Photoshop Mastery Techniques: Layer Styles

The Bump Map Effect

“Wait, what?” you exclaim, “There’s no bump map effect in the Layer Styles menu!” That’s true, but by combining Pattern Overlay and Bevel and Emboss, we can achieve a textured, bump-mapped surface with a controllable light source.

This technique requires two images: one for texture and color, and the other to serve as a depth map. The depth map needn’t have any hue because it determines depth based on a composite value, black being the lowest, white the highest. In some cases, you may be able to use the same image for both, but in our example we’ll use completely different ones.

Step by Step

  1. We’ll start by creating our bump map pattern. Open the diamond-plate.psd file.
  2. Inside you’ll find a number of white shapes on a black background. Create a pattern from this document: Select All (Cmd/Ctrl + A), then “Edit” → “Define Pattern.” Name it “diamond plate bump map” and click okay.


    Creating the diamond plate pattern.

  3. Now, open the start.psd file.
  4. Repeat step 2 to create a pattern from the “patchy gray” layer. This will be used later to add texture to our background.


    Defining the texture pattern.

  5. After creating the pattern, delete the “patchy gray” layer. It’s no longer needed.
  6. Use the Rectangular Shape tool to create a shape layer about 20 pixels wider and 20 pixels higher than the canvas. Change the color of this layer to a dark, brownish, chromatic gray.


    Creating the shape layer for our background.

  7. Be sure that the shape layer doesn’t have any Layer Styles already applied to it (Photoshop will often apply the most recent Layer Style automatically). Then, begin the new Layer Style by adding a Pattern Overlay.


    Adding a Pattern Overlay effect.

  8. Choose the “patchy gray” pattern from the pattern picker, and change the Blend Mode to Soft Light. This will add the texture to our background layer.



    Adding a pattern overlay effect.

  9. Next, add a Bevel and Emboss, along with the Texture effect. This time, change the Texture effect’s Pattern to the “diamond plate bump map” pattern created in step 2. We now have a grungy diamond plate background.



    Applying the Bevel and Emboss texture effect.

  10. As with most Layer Style effects, the default values are rarely ideal. By tweaking the Bevel Type and Size, Gloss Contour, Highlights, Shadows and Light settings you can achieve some dramatic results.



    Tweaking the Bevel and Emboss settings.

  11. With a few extra effects, you can shape the background layer even more. The example has a Gradient Overlay to simulate reflected light by darkening certain regions of the image.



    Using the Gradient Overlay to darken some regions.

  12. You may notice that the highlights from the Bevel and Emboss filter all seem to have the same value. This is because the Bevel and Emboss effects are very high on the Layer Style’s stacking order. To darken the highlights that lie outside our main light source, simply paint a Layer Mask using the Brush tool.


    Painting a mask to increase the appearance of light in the background.

We now have a textured, bump-mapped background that is completely dynamic; everything about it can be modified easily from within the Layer Styles menu. Consolidating complex imagery into one dynamic layer like this can reduce layer clutter dramatically and allows you (and whoever else may be using the file) to easily find and modify things. Now, let’s move on to creating our icon.

3-D Modeling

By combining some interior effects, we can use the Layer Styles menu to create simulated 3-D objects: great for icons, buttons and other interface objects. We’ll now model the base of the round icon in the example image using a single layer.

Step by Step

  1. Begin by creating a circular shape layer with a rich red fill.


    Creating the shape layer for the icon’s base.

  2. As is often the case when modeling a 3-D shape, let’s begin by adding a Gradient Overlay to our Layer Style. A white-to-black Radial-styled gradient set to Linear Burn works best for our implementation. Be sure the white area of the gradient is at the origin.


    Adding Gradient Overlay set to Linear Burn.

  3. We now have a dramatically shaded sphere with a head-on light source. By decreasing the opacity of the gradient, we can flatten the shape to a more concave button.


    Reducing the Opacity for a subtler effect.

  4. Let’s also move the direction of the light to the upper-left. While leaving the Layer Style menu open, move the mouse over the image itself (the Move Tool icon should appear). Simply click and drag the epicenter of the gradient to the upper-left of the shape layer.


    Repositioning the gradient within the Layer Styles menu.

  5. While Bevel and Emboss may seem like more logical tools, you can often get a cleaner, more customizable beveled look by using a combination of other effects. First, add a black Inner Glow, set to Multiply. Adjust the Choke, Size, Opacity and Contour until you have a softened edge inside the shape.



    Adding a Glow to darken the edge of the base.

  6. Like for any well-rendered spherical surface, we have to add some reflected light in our shadow region. This is easily achieved with the Inner Shadow effect. Change the color to white and the Blend Mode to Linear Dodge. Adjust the angle so that it appears in the lower-right of our shape. Tweak the Contour, Distance, Size and Opacity to create a subtler effect.



    Adding subtle reflected light using Inner Shadow.

  7. To enhance the feeling that the shape is part of the document’s “environment,” we can add some effects to interact with the background. Drop Shadow is usually the easiest tool to use for this. Massage the settings until everything feels right.



    A simple Drop Shadow goes a long way.

  8. Using the Outer Glow effect, we can simulate the reflected red light that our background image would absorb if this were an actual setting. Change the glow’s color to a darker red, and change the Blend Mode to darken. Again, work with the Size and Opacity settings to create the desired effect. This is one of those effects that, when used correctly, no one should notice because it just looks natural.



    A red Glow to add more “environment.”

Please notice that Layer Style gradients can’t be dithered, which can make them lower quality than their Gradient Layer and Gradient Tool counterparts (— Marc Edwards).

Diffuse vs. Specular Light

Now, our icon reflects a simulated diffuse light, which gives it the look of a matte-finished surface. If you prefer a glossier appearance, you can easily create a specular highlight using (what else?) Layer Styles.

Step by Step

  1. Duplicate the current shape layer (Cmd/Ctrl + J).
  2. Clear the new layer’s Layer Styles: right-click the layer in the Layers palette and select “Clear Layer Style.”
  3. We also need to modify the shape of the layer to give the reflected light a sharper edge. Using the Direct Selection Tool (A), select the shape path in the layer’s vector mask. Copy it (Cmd/Ctrl + C) and paste it (Cmd/Ctrl + V) above the current path. Change this path’s mode to Subtract from shape area (-). Then move the shape down and to the right to create a crescent shape. You may also want to make the negative shape larger to create a more natural inside curve: simply Free Transform (Cmd/Ctrl + T) and then scale the shape up.


    Modifying the shape of the specular highlight.

  4. Because we need this layer only for its Layer Styles, we can set its Fill Opacity to 0%.


    Dropping the layer’s fill to 0%.

  5. We also want this layer to inherit the Layer Styles of the underlying layer, so create a Clipping Mask on the new layer (Cmd/Ctrl + Option + G).


    Creating a Clipping Mask to inherit effects.

  6. Now, begin the Layer Style with a Gradient Overlay. Use the default black-to-white gradient, and set the Blend Mode to Screen. Knock the Opacity down to about 50%, and change the angle to about 115°. You may need to change the positioning of the gradient, which you can do by clicking and dragging inside the document window, just as you did in the 3-D modeling section.



    Setting the Gradient Overlay to Screen.

  7. This is a good start for the highlight, but it still looks somewhat unnatural. Using a transparent inside stroke, we can shrink the perimeter of the interior effects. Add a Stroke effect to the layer and drop its opacity to 0%. Change the position to Inside, and work with the size slider until the highlight begins about where the darker inner glow ends on the underlying layer (the example image uses 5 pixels).



    Using a 0% Inside Stroke to shrink the perimeter of interior effects.

  8. To add a more dynamic look to your highlight, you can add a white Inner Shadow set to Screen with a custom contour. Tweak the distance and size settings to finish off the effect.



    The Inner Shadow creates a more dynamic specular reflection.

X-Ray Vision

Step by Step

To create the die-cut type inside our icon, we could turn the text layer into a shape layer and use the paths to mask away areas from the base. However, this would result in degenerated content; we would no longer be able to modify the type. Instead, we’ll simulate a mask using the Knockout Blending Option. This will also allow us to apply custom effects to the cut-out area.

  1. Create a new Type Layer with the text “fx”, and position it within the circular base. The example uses 120 point Garamond Bold Italic.
  2. Drop the Fill Opacity to 100%.
  3. Begin your Layer Style by adding an Inner Shadow. Increase the size, and increase the opacity to about 90%. You may also want to modify the distance and contour to your liking.


    The beginnings of the die-cut effect.

  4. We now have the beginnings of a die-cut effect, except that the text still shows the base below it. To fix this, go to the Blending Options section in the Layer Styles menu. Change the Knockout from None to Shallow (this setting samples pixels from the layer directly beneath the current layer’s group). Because our text layer doesn’t belong to a layer group, it samples instead from the Background layer. (Using a Deep Knockout would always sample from the Background layer, regardless of the layer’s group.)



    Shallow Knockout samples pixels from the layer directly beneath the current layer’s group.

  5. To get the text layer to sample from our diamond plate layer, start by clicking “Okay” to close the Layer Style menu. Select the text layer and both of the buttons that make up the base, and group the layers (Cmd/Ctrl + G). As you can see, the “fx” shapes are now drawing pixels from the textured layer directly below the new layer group.


    Grouping the icon so that the Knockout samples from the diamond plate layer.

  6. The knockout effect is very convincing, but the type still feels detached from the base. Let’s add a beveled effect to simulate the surface quality of the base. Start by adding an outside Stroke with a size of 2; then drop the opacity to 0%. This doesn’t achieve anything but is necessary for the next step.
  7. Now add a Bevel and Emboss effect. Change the Style to Stroke Emboss and Technique to Chisel Hard. This will apply the bevel’s lighting effects within the stroke area created in the step above. Modify the settings to achieve a subtle and smooth edge.



    Adding a Stroke Emboss.

  8. Let’s take the bevel one step further by adding a thin specular highlight to the bottom-right edges of the shape. We can use a white Drop Shadow effect, set to Screen, to add a bright highlight just at the edge of the bevel. You’ll want to modify the distance and size to give the highlight a sharp edge.



    Adding a thin specular highlight using a Drop Shadow.

  9. Finish off the Layer Style with more shading within the die-cut letters by adding a simple black-to-white Gradient Overlay, set to Multiply.


    Finishing off the die-cut.

Quick Tips

Despite frequent misuse, the Layer Styles menu really is a powerful tool that every designer should learn to work with. Not only does it provide a level of speed and control not easily found through other means, but it provides invaluable flexibility. Our example shows how a multi-dimensional icon and a completely dynamic background can be consolidated within four simple Shape layers, allowing them to be easily modified, reused and repurposed throughout your designs. Below are a few extra tips to remember when working on your next project.

Effects Stacking Order

You may have noticed sometimes that an effect isn’t visible when another effect is being used. For example, a Color Overlay seems to override a Gradient Overlay. This is because of the Layer Styles Stacking Order. Just as with the Layer’s Palette, one layer will cover another that is lower down in the stacking order. Unfortunately, the Layer Styles menu doesn’t allow you to rearrange the order of effects. One way around this (even if you sacrifice the ability to edit) is to use Create Layers, which turns all of your Layer Style effects into actual layers that you can move.

Interior Effects Stacking Order:

  • Stroke
  • Bevel and Emboss
  • Inner Shadow
  • Innger Glow
  • Satin
  • Color Overlay
  • Gradient Overlay
  • Pattern Overlay

Exterior Effects Stacking Order:

  • Stroke
  • Outer Glow
  • Drop Shadow

Non-Color-Specific Styles

Though not always possible, you may want to use black, white and grays for your effects. Using monochromatic colors in conjunction with the proper Blend Mode allows you to create styles that are non-color-specific, meaning you can modify the color of the actual layer, and your Layer Style will update appropriately.

Scaling Effects

There may be times when you’ve created a Layer Style that looks great at the original size, but when the shape is increased or decreased, your beautiful style is destroyed. Fortunately, Photoshop provides a method to adjust styles that are out of whack. Simply choose Layer → Layer Style → Scale Effects, and then input the percentage you need.

Inconspicuous Menu Options

A number of hidden commands are available to you from within the Layer Styles menu. Depending on the effect, you will have access to either the Hand tool or the Move tool by simply mousing over the document window. The Hand tool allows you to move the document around just as you would outside the Layer Styles menu, and the Move tool repositions the current effect and updates the settings automatically. When using the Move tool, you can still access the Hand tool by holding the space bar. While using either of the tools, you can zoom in and out by holding Space + Cmd or Space + Option respectively. Don’t forget, as with most other menus in Photoshop, holding “Option” will change the “Cancel” button to a “Reset” button, allowing you to undo any changes.

Thanks to Marc Edwards and Ricardo Gimenes for their assistance in editing the article.

(al)

↑ Back to topShare on Twitter

Tom Giannattasio happily makes things at nclud. He works as an Editor for Smashing Magazine and teaches at Boston University Center for Digital Imaging Arts. He loves to experiment and share his work on his personal site: attasi.

  1. 1

    Great article Thomas. And I definitely would like to see more articles and tutorials about Photoshop.

    27
  2. 3

    Wow… totally love the detail and the clarity :)

    I want to see more tutorial like this.

    13
  3. 4

    Excellent tutorial. Adding it to Reading List. Thanks

    7
  4. 5

    To each their own on layer style but they are still abused effects, and in this instance I think your thought is great but the final effect looks rather cheesy to me.

    -Dan

    -23
    • 6

      Completely agree with you, Dan.

      -15
    • 7

      Each designer has his/her own way and method to achieve different effects. Sorry it’s cheesy for you.

      15
    • 8

      Please Dan, provide us with some examples of your glorious Photoshop work.

      16
    • 9

      Christopher Anderton

      August 12, 2011 9:23 am

      I think you miss the point. The article was about HOW you work with Layer styles, not how you create a button.

      26
      • 10

        Exactly. Just because you show someone how to paint a bathroom doesn’t mean they can’t apply that knowledge to painting a kitchen or a living room.

        Pay attention to the journey, not the destination.

        8
    • 11

      PixelTunnelVision

      August 12, 2011 2:16 pm

      I guess the vast majority of Photoshop effects in the world aren’t good enough for you? Some pretty amazing effects can be achieved with layered styles. Combining multiple layers that each have a style can make for some realistic things, too. They’re a powerful tool to use, if done right, and they can make transferring a look from one element to another very efficient.

      2
    • 12

      I wonder what kind of techniques are you using to get the something worth looking at? I bet the author created this tutorial to specifically emphasize each individual style incorporated into the final effect, as this is a tutorial, an article made for learning purposes after all.

      If you require some sleek and very subtle, not overused patents, then this article is not for you, and you should look elsewhere to satisfy your cravings for artistic stuff, as this article was created to demonstrate few things that not everybody may know from the start.

      Hope to see your work somewhere, that people could classify as “inspirational”.

      1
  5. 13

    Awesome article. I’ve been trying to figure out how to do the non-destructive knockout for the last couple weeks. Huge help. Thanks.

    0
  6. 14
  7. 15

    Nice article. Very well written.

    2
  8. 16

    layer styles rock.

    I have one problem with them. the Stroke style is oftentimes not pixel-perfect and will be blurry on one side or another when applied to an object. If anyone has experienced this and has a simple solution, I’d love to hear it.

    So it goes…

    -dp

    0
  9. 19

    this tutorial gave me an idea to create an icon for the apple apps…think this method should work…willl give a try

    0
  10. 20

    Thank you for the tutorial, and I agree with the others-this was a great step by step to show what can be done and how this designer achieves different effects. As a designer, even after 13 years, I rarely walk away from any good tutorial without at least one or two new tricks or alternative methods for creating an image.

    As far as the cheesy comment, what’s up with designers knocking each other all the time? We all deal with basically the same good, bad, and and ugly in our profession and no one understands that better than us. Knocking someone else that’s just working or in this case just sharing their techniques doesn’t make YOU a better designer, it doesn’t make YOU get more clients and it’s bad for our profession as a whole. You don’t have to like everything you see but, at the very least, show some respect for the work that obviously went into it.

    11
    • 21

      It’s just much easier to bash someone then it is to help. Instead of offering some good, constructive criticism, it’s quicker to just bash the person. It also require less talent because you don’t have to take the time to point out what was actually wrong and how to fix it.

      1
  11. 22

    Good post, the power of layer styles is awesome. I only wish we could change the stacking order or have masks inside the layer styles, but maybe that will come in another version.

    0
    • 23

      First make a copy of the layer and it’s styles for safety. Click on the layer for which you wish to apply a mask to a particular style.

      Then select from the Menu: Layer, Layer Style, Create Layers. If all goes well each of the layer styles has now been exported into it’s own layer.

      Now have fun :-)

      …Ray.

      0
  12. 24

    Hi, i m quiet disappointed with this sorry but this one was not so tricky or something which we were not knowing. come out with something stunning. All the best

    -5
  13. 25

    Good post, the power of layer styles is awesome.

    1
  14. 26

    “Massage the settings until everything feels right.” My favorite quote from the article, as it perfectly describes how one works with any design concept.

    I believe this is something many beginners will stumble at, and it’s important to remember that the standard settings are rarely the best settings. Just don’t go too extreme!

    0
  15. 27

    I think this is way below your level guys.
    You usually publish fantastic articles, with great importance to working designers. basic 101 stuff like this isn’t what I’m looking for in a design zine.
    sorry.

    -10
    • 28

      This website covers many areas with many different levels of experience. You may find this one beneath you but I am sure there are many more who learnt something new.

      8
  16. 29

    Just thought i’d leave a quick comment to say nice post. I believe some of the negative comments here are from users who are use to Smashings in-depth design posts. But a simple post like this has a place here. Clear and well explained for everyone to follow. I liked it and I’ve been using photoshop for 15 Years.

    2
  17. 30

    Well definitely layering can improve graphic and give depth of field and isometric look. If somebody have every worked with 3D software probably can handle with this technique easily and can predict how to reproduce this effect.

    0
  18. 31

    I used to achieve the gloss effect using the legendary Marquee tool. Never really gave it a thought to use the layer styles.

    Thanks. :)

    0
  19. 32

    Awesome tutorial! I especially liked how you combined the patchy, grungy image with the diamond plate texture.

    0
  20. 33

    Really nice and not difficult too.

    0
  21. 34

    Loved it! Especially the Knocked out blending part.

    0
  22. 35

    Awesome tutorial! I love it

    0
  23. 36

    Very nice way to represent and process to use layer style in Photoshop. I love to learn it.

    0
  24. 37

    This was an excellent article and achieved everything it set out to do. I am always astonished how often I am thinking ‘how would I do this?’ only to find that a tutorial on that exact thing has just been published in smashingmagazine.

    I have seen good designers use layer effects like these and achieve astonishingly good results, so it is great to have some of these techniques explained in this way.

    I especially like the way that so many different techniques were illustrated in the example (patterns, texture / emboss, inner shadow etc)

    I don’t understand why this article has attracted a cluster of a few negative remarks from a couple of folks ( ‘looks too cheesy’ and ‘not too tricky’ don’t seem to be very constructive or deep critiques :)

    thanks again … good work, well thought out.

    Richard

    1
  25. 38

    Thanks for this. I’ve been using PS for a long time and feel like I have a pretty good grasp of things. You definitely showed me a few things that I didn’t know (or at least hadn’t put together). Great tut!

    0
  26. 39

    Absolutely awesome tut!

    @richard I agree, if someone can’t appreciate someone’s work don’t at-least bash him…

    0
  27. 40

    Nice article. Very well written.

    0
  28. 41

    I still use layer effects, but I confess to doing so sparingly as you can’t deny that there is more control of taking one of those layer effects and replicating it in a standard layer.

    Doesn’t mean you should disregard layer effects altogether otherwise why would they still be in the application after all these years?

    They’re shorthand and chances are if it is something you regularly did within your designs, you would end up writing an action for it, that’s essentially what they are after all.

    -1
  29. 42

    This was awesome! I was a confused a bit at the part of copy and paste and subtracting within a path…but figured it out.

    thanks,
    L

    0
  30. 43
  31. 44

    Thanks for this Thomas. Really insightful. Would love to see more tutorials or tips from you in the future.

    Cheers,
    Pat

    0
  32. 45

    Brilliant, thx!

    0
  33. 46

    Very nice tutorial. Thx

    0
  34. 47

    official cheap tory burch sale

    August 24, 2011 10:28 pm

    The wide width dress sandals from Softspots are extremely popular because of the high level of comfort they offer while retaining the style element.

    -4
  35. 48

    Very nice tut. Important technique explained in simple steps. Thanks

    0
  36. 49

    I would get the PDF of this method. but …

    0
  37. 50

    The devil is truley in the detials! But the outcome is totally worth it!

    0
  38. 51

    Very thorough tutorial. It amazes me the realistic effects that photoshop can provide with a little time and experience :) Thanks again!

    0
  39. 52

    Very nice tut. Important technique explained in simple steps. Thanks

    0

↑ Back to top