We have a new website (We've moved)! So go check out Phosphorus.co

How to Make Your Design Pop: Adding 3D Elements

Posted in Photoshop, Tutorials

Preview Image
Depth and 3D effects are just another part of the web design process and they’re becoming more and more common across the web. I mean, what better way to drag your readers in than to have your design sit off the screen? So in this tutorial I’ll go over some of the key ways you can make your design ‘pop’ as it were.





Wrap Around

Wrapping elements around your design can create a lovely 3D effect to your design. Lets say you have a situation like this:

Image

And you want to add a bit of pop to it. First of all, grab the rectangular marquee tool and make a shape like below. Fill that with a nice color, anything will do really, as long as it looks right. I’m going to go with #6492c0. Rename tis layer to “Rectangle”

Image

Set your foreground color to something like #36516b (a darker color) and pick your pen tool up. Then it’s just a case of drawing a shape like below in the left hand bottom corner of your shape.

Image

Then drag it down to below your white rounded rectangle layer in the layers palette. Rename this layer to “3D Effect”.

Image

After that it’s just a case of adding some finishing touches to your 3D effect. Duplicate the “Rectangle” layer, and rotate it as shown below.

Image

Hold ctrl and make a selection of this rotated “Rectangle” layer by clicking on it’s thumbnail. Fill it with black, and go to Filter » Blur » Gaussian Blur. Set the amount to around 3.8, and click OK. Then all you have to do is lower the opacity on this layer down to around 20%. You can mess around with the rotation too, until you get the desired effect.

Image

Finish off with a few gradients. I also outlined the “Rectangle” layer just be making a new layer, grabbing the pencil tool (1px) and drawing round the edge in #719cc8.

Image

Which will give you a final result of this:

Image

Perspective

Perspective is another great way to add depth to a website. With the use of color to create shadows, and angles you can make it seem as if your web layout is sitting off the page.

Using the pen tool and rectangular marquee tool to make simple shapes is easy. Here’s a little look at a very basic perspective styled layout

Image

Now obviously you could make this a lot more complex, and my example is just a very basic one. If you’re a bit rusty with the pen tool, why not check out our lovely tutorial on it which you can find here.

Pixel Lines

Pixel lines are another great way for you to add a tiny bit of depth to your design. Although tiny they can really make your design seem more defined.

Pixel Indents

Pixel indents amount to two 1px lines beside each other. One is usually lighter than the other (i,e. black and white). This creates the illusion of an indent into the layout.

Here’s an example of two colors: a dark green and a lighter shade beside one another.

Image

To make the line between the two more defined, we can use the pixel indenting effect. Just draw two lines, one black and one white on the divide between the colors so that the black is on top of the darker color and the white is on the lighter one.

Image

Then it’s just a case of lowering the opacity down a tad so that you get a result you’re happy with. I’ve lowered mine down to about 50%, and ended up with this:

Image

Of course, this is a very basic example, but it should work in most situations.

Pixel Lines

This time we’ll just be looking at simple pixel lines. Adding a lighter sharp line to a design can really make it pop. Here’s an example of a shape I just made.

Image

To get the effect we so desire we’re going to have to use a drop shadow. If this was just a rectangular shape we could just draw a 1px line with the pencil tool. So right click on this layer and select “Blending Options” and go to Drop Shadow and give it these settings:

Image

You should end up with something like this:

Image

The effect is very subtle, but it can create a really nice finishing touch to your design. One pixel shadows themselves can help add depth to a picture or object, and you should try messing around with them to see what results you get. (See section on shadows below)

Gradients

Gradients can add depth to your design too. They’re especially useful on buttons and stuff like that, as they can give the user the feeling that they’re actually clicking on something if you have a hover over effect enabled. Just for simplicity lets use the same shape we used in the last example. Here it is with no effects, just a shape:

Image

And here it is with a gradient:

Image

The gradient helps the shape to seem as though its sitting off the page a bit.

Shadows

Shadows are the classic way to add depth to an element or object in web design. It gives the illusion that the object is sitting off the page in some way, or floating as it were. First of all you have to realize what a shadow is: it’s basically just the shape blurred in a darker tone than the background it’s on, and that’s the premise you will be working on when making shadows for your shapes.

Classic Shadows

These are just your regular every day shadows with no added bells and whistles. You can get these just by messing around with the default drop shadow settings in blending options.

One Pixel Shadows

There are a few types of shadows. First of all is the one pixel shadow we utilized earlier when trying to outline our shape. This can be used in more than one way however, and can add a nice embossing effect to objects:

Image

Which uses these settings:

Image

“Stuck down” Shadows

These shadows give the illusion that one or more of the edges is glued to the page. We did this before in the “wrap around” example at the top, where we simply duplicated the shape we wanted to have a shadow, rotated it a bit so that it appeared to be coming from a certain point on the shape and blurred it.

That’s about it for this nail biting tutorial, hope you’ve learned something new. Maybe you’ll even be able to put some of these techniques into place around your own website. Thanks for reading and happy photoshopping!


Share This

 

 
 

Author: Johnny




Johnny is the owner of Webtint and usually the sole contributer to the site (apart from the ocassional guest post).


Comments



Eric B. January 1, 2010 at 8:13 pm

Awesome tutorial, with some great tips! I’m going to go and figure out how to do these in Gimp now.


Elena January 2, 2010 at 9:41 pm

Thanks for the great tutorial. One question though. Would you treat the corners as separate elements when coding or would you combine them with the navigation bar as an image sprite?


    Johnny January 2, 2010 at 10:51 pm

    what corners do you mean?


Elena January 2, 2010 at 11:54 pm

I meant the part of the navigation bar that wraps around to give it the wraparound effect-the triangles.


    Johnny January 3, 2010 at 1:27 am

    It’s down to you really, if it was me I’d have two separate images – the corner that goes outside to wrap around, and the bit inside. Then I would just position the corner with CSS until I was happy with the results. Hope this helps.


Elena January 3, 2010 at 3:03 am

It does. The hardest thing will probably be making sure it’s browser compatible. Thanks so much.


    Johnny January 3, 2010 at 3:05 am

    Haha yeah tell me about it. Browser Compatibility is a big issue, I wish IE6 would just hurry up and die


Zan January 5, 2010 at 12:57 am

Hello!

Awesome tutorials here on Webint ! Please keep it up ! ;)
And this tutorial is really great, i always loved that kind of tutorials!
Please keep writing about OOP in PHP ;)

Thank you for everything!


    Johnny January 5, 2010 at 1:01 am

    Hey, thanks Zan it’s no problem :)


Zan January 5, 2010 at 2:03 am

Hey Johnny !

Thank you for such a fast answer ! ;) Can i ask you when are some new tutorials coming and are your future plans in 2010 for webint ?:)

See ya


    Johnny January 5, 2010 at 2:05 am

    Hey, I’m not entirely sure, I generally just write something as it comes into my head. I’ll try to do a few more tutorials for you though.

    If you have any ideas for tutorials, feel free to suggest them and I’ll try to cover them as well as possible :D


Zan January 5, 2010 at 2:12 am

Hi !

Well i have a few ideas :)
You should write more about OOP PHP, How to use it with Mysql, what benefits are from it, How to use it in real world – i mean on project.
Because i read your tutorial, but when i wanted to create some application where i wanted to include OOP and actually make something from it, I just stuck.
Maybe you could create some video tutorials – that is great – , some tutorials how design with Photoshop – like that post here, but more how to make professional looking theme from primitive shapes, you can write about CSS – how to code site ( but with that i mean, explain all, what does margin do, what did you do when you were coding … Most tutorials sites just puts code in, and we don’t have any benefit from it). Oh, and also, please post something more about typography – what is this, how does it work, how to use it correctly :)

Hehe, i have lots and lots of ideas, because many tutorials sites don’t have quality… Just posting come code, which 95% visitors cannot understand. :)

Thank you


Zan January 5, 2010 at 12:00 pm

I hope i didn’t said something wrong :) Please tell me if I told you some good ideas. Hehe… BTW: Johnny where are you from ? You should write “ABOUT” section. :)


    Johnny January 5, 2010 at 12:45 pm

    Haha, okay, theyre all good suggestions, I’ll try and over some of those topics for you.


Zan January 5, 2010 at 12:48 pm

Thank you. Do you have MSN, so that we can talk live ? If you have, please send it to my mail. I am always happy to meet new web developers and friends on internet.


Alaa January 21, 2010 at 12:52 pm

Thxxxxxxxxxxx.. so nice tut. and useful tips


Mike March 8, 2010 at 5:40 pm

This was a really great article.

My only suggestion would be to do the same tutorial in Fireworks. It makes a lot more since to do something like this in fireworks, plus all the effects such as the gradient, shapes, and outlines are all built in and were very easy to do.

Thanks.


smith March 19, 2010 at 7:17 am

you did amazing work on image, thank you very much for your excellent step by step instruction, I have tried same effects on my project and got appreciated by client..God Bless..have a prosperous career.


Shenoli Jayasinghe May 13, 2010 at 12:06 pm

As a student… This means a lot t me.
I found an amazing and an awesome tutorials here which would be really very useful for us… thanx alot…





Leave us a Comment



Put your name here:

Your email goes here:

Got a Website? Put it here (optional):

And finally, your comment:




Sponsors