Using Gradients to Make Light and Shadow – and a Coffee Cup!

Oct 5th in Effects by Collis
In this tutorial, we're going to use some simple circles and gradients to make a cup of coffee viewed from above. The end result isn't that useful, but the process is interesting nonetheless.
PG

Author: Collis

Hello! I started Psdtuts+ because years ago reading Photoshop tutorials was how I got into design. You can find me on Twitter or on my blog theNetsetter.

Step 1:

We begin with a nice pastelly-blue gradient. Note that with the gradient, I've put the lighter part in the top right. This is important because we are giving the impression that light is coming from the top right and this is will decide what direction other gradients need to go.

On top of that draw a circle and fill it with white.

Step 2:

Next hold Ctrl and click on the layer to select its pixels, then go to Select > Modify > Contract and use a value of around 12px.

Step 3:

Then in a new layer draw a subtle light grey to white Linear Gradient from top right to bottom left.

Note that we go this direction because its the opposite to where the background light is from. This is because the dark grey instantly gives us some shadow which makes for a 3D effect.

Step 4:

Next hold down Ctrl and select the back circle, then hold down Alt and Ctrl to select the front circle. This should give you a selection that is just the ring as shown.

Now in this ring, draw a Linear Gradient from bottom left to top right. Again this will make for a 3D look. In case you hadn't guessed, this is our saucer.

Step 5:

Next create a layer at the bottom and Ctrl-click the original circle layer to select it, then press the down and left arrows a few times and fill the selection with a darker blue to make a shadow for our saucer.

As you can see, the shadow is being cast by the saucer down and left, which makes sense again because the light is in the top and right.

Step 6:

Now in a new layer at the very top, Ctrl-click the ring layer and in our new layer fill it with white. Then without letting go of the selection, press down and left two times and hit Delete. This will leave a little white highlight.

Step 7:

Now that we have the saucer finished, we can start on the cup!

So we create a new layer at the top, draw a smaller circle in and fill it with a very light grey.

If you haven't managed to line up your circle, its OK, just select all the layers together and then switch to the arrow tool (actually its called the Move (V) tool in Photoshop, but you probably just know it as the plain-old arrow), and you'll see at the top of your screen, there appear some alignment buttons. You can use these to align your circles together.

Step 8:

Now with the original selection still on, create a new layer and go to Select > Modify > Contract and put in a value of about 6 pixels. Then fill that layer with a dark grey to light grey Linear Gradient from top right to bottom left. As with the saucer, we are again making shadows that are consistent with where the light source is in our picture.

Step 9:

Now in a new layer, draw another circle and fill it with a linear gradient from top right to bottom left going from dark brown to light brown. As mentioned before, you can align these up using the layer align tools.

Note that its better to draw a new circle, because if you contract circle selections too much they start getting a bit weird. This is because of the way that Photoshop uses pixels rather than a path of the circle.

Step 10:

Next use the Rounded Rectangle Tool (U) to draw in a shape as shown in a new layer. Note that I left paths on so that I could screenshot it properly, but actually you just need the shape.

Step 11:

Next choose the Burn Tool (O) and with a soft medium brush, just brush the edge closest to the coffee cup to give it some shadow as shown. You can also give it a bit (less) shadow on the other side of the shape too, but make sure that it's light in the middle.

Step 12:

Now go to Edit > Transform > Perspective and transform the shape as shown. This is going to be the handle to our cup.

Step 13:

Now Ctrl-click the handle layer to select its pixels, go to Select > Modify > Expand and use a value of 1px. Then in a layer below the handle layer fill your selection with white. Then press Ctrl+D to deselect and then press the right arrow twice to move it to the right. This is just to give our handle a bit of a thin white highlight.

Step 14:

Now Ctrl-click the handle layer and in a new layer fill the selection with dark grey. Then press CTRL+T to transform the new layer as shown so that its at an angle. Then place that layer below the handle layer.

Step 15:

Now press Ctrl and Shift together and click all the cup layers to select the pixels for all of them together. Fill that layer with a light grey as shown (note that I've moved it to the left and down so that its visible). Make sure this layer is at the bottom of all the cup layers, but before the saucer layers. It is the cup shadow.

Step 16:

Set your latest layer to Multiply and 30%, then hit Ctrl+T to transform the layer and rotate it a little as shown.

Step 17:

Finally we'll add a little steam. Create a new layer at the very top and with a big soft brush, paint a little white in some random shapes as shown.

Step 18:

Now go to Filter > Distort > Wave to distort the white into a smoky shape. I don't really understand this filter and usually just play around with the settings until I get the effect I'm looking for. This usually involves a bit of trial and error and hitting the Randomize button lots! Sorry I don't have a better explanation of that step. Luckily the wave tool is so useful that its probably good for you to play around with it a little and learn how it works.

Step 19:

Finally set our new smoke layer to Overlay to make it a little more subtle and you're done!

As I mentioned at the beginning, the result of this tutorial isn't particularly useful, but it's an interesting experiment in light and shadow, which are useful things to learn for your general compositions.

Sample PSD


Enjoy this Post?

We'd love your vote!

Plus Members

Source Files, Bonus Tutorials and
More for $9 a month for all TUTS+
sites in one subscription.

Join Now

User Comments

( ADD YOURS )
  1. PG

    Headshot October 6th

    Great Tutorial!
    You guys really make some interesting tutorials :)

    ( Reply )
  2. PG

    Jeii Zhu October 6th

    cool
    Every time I read this website, I learnt a lot!!

    ( Reply )
  3. PG

    Eli October 6th

    Nice tutorial matey.

    ( Reply )
  4. PG

    Collis October 6th

    hehe thanks guys, I actually thought this tutorial was a little sillier than some of the others, but it was interesting making it anyhow, glad it was useful!

    ( Reply )
  5. PG

    Joefrey Mahusay October 6th

    Excellent Tutorial…Two thumbs Up!

    ( Reply )
  6. PG

    Dao October 6th

    I havem’t read the tutorial yet, but this look great and i’m itching to start!

    ( Reply )
  7. PG

    Rao October 7th

    Oh thank you!
    @};-

    ( Reply )
  8. PG

    PARPOLE October 7th

    I REALLY LOVE THIS SITE… I HOPE U HAVE MORE TUTORIALS….

    ( Reply )
  9. PG

    Backfire October 7th

    This is seriously the best Photoshop site ever. Great tutorial, after doing this, I made a saucer with a glass on it…with water inside. It came out pretty cool! Awesome tuts and keep up the good work! ^_^

    ( Reply )
  10. PG

    Jami October 8th

    This tutorial was great. I am new with photoshop. The only thing I can’t figure out is why yours came out looking so smooth and mine came out with the edges all jaggedy. The image size was the same so I don’t know what I’m doing wrong. My letters always come out jaggedy too. Any help would be greatly appreciated!!

    ( Reply )
  11. PG

    plexynote October 8th

    nice washing machine! ;-)

    ( Reply )
  12. PG

    Boris October 8th

    i see every tutotial here, and im very impress in your imagination. Thanks. Going on.

    ( Reply )
  13. PG

    Dude October 9th

    i am sorry but i can not find the brush (to make steam – step 17) and when i do the normal brush (it’s not shine), i can not distort??!
    then the handle can not fill by white color after i draw too…anyway it’s a nice tutorial, but some steps y jump so fast then i some people don’t know too much about photoshop like me can not catch up… thanks !

    ( Reply )
  14. PG

    Nasip October 11th

    Nice tutorial Collis…. thank you. ;)

    I have a suggestion:
    maybe we could use the Smudge tool instead of the Distort filter, with a medium size and a 50% strength, it worked for me. =)

    ( Reply )
  15. PG

    Luke October 22nd

    Hey Collis

    Hows this:
    http://dt-design.deviantart.com/art/Treat-Yourself-67879520

    Thanks,
    Luke.

    —————–

    Deviantart: dt-design.deviantart.com
    Website: http://www.design-temple.co.uk

    ( Reply )
  16. PG

    Luke October 24th

    If Collis dosen’t then can everybody else say what they think of it?

    PS – Thx!

    ( Reply )
  17. PG

    Antonio November 3rd

    Nice tutorials. I love them. Question. Very soon I will be launching a Free Royalty image site, but I need content for the site. Do any knows where can I get free tutorials that I can add to my website. I will be giving credit to the author, and site. Also, I can give them links that can bring more traffic to their website. Do any one knows?

    ( Reply )
  18. PG

    Angie December 6th

    I used very similar techniques 6 months ago to make a coffee cup in illustrator. The only thing you forgot was the little bubbles that form at the top of a cup of coffee. None the less good work.

    ( Reply )
  19. PG

    Leandro December 27th

    Hi, i’m from Brazil, i read ever week !

    VERY GOOD !!!!!

    ( Reply )
  20. PG

    Yizi January 4th

    Very interesting and nicely done, keep up the good work.

    Yizi

    ( Reply )
  21. PG

    aronil March 29th

    I love this tutorial good job man, I’m going to give it a go

    ( Reply )
  22. PG

    frank June 3rd

    Nice tutorial Collis…. thank you. ;)

    ( Reply )
  23. PG

    Mansoor July 24th

    Nice

    ( Reply )
  24. PG

    Photoshop Brushes September 19th

    Another great tutorial. It will help a lot if you can provide also the colors :D

    ( Reply )
  25. PG

    Moksha October 16th

    never saw this tutorial for me its new and easy thanks for it

    ( Reply )
  26. PG

    Rana January 11th

  27. PG

    zen March 17th

    nice…..
    i love coffe

    ( Reply )
  28. PG

    adri_ April 29th

    Thanks Collis for the tutorial !

    Easy to make and easy to understand :)

    ( Reply )
  29. PG

    jian zhang May 8th

    cool !
    thank you !

    ( Reply )
  30. i see every tutotial here, and im very impress in your imagination. Thanks. Going on.

    ( Reply )
  31. PG

    Caroline Schnapp November 15th

    “Step 6:

    Now in a new layer at the very top, Ctrl-click the ring layer and in our new layer fill it with white. Then without letting go of the selection, press down and left two times and hit Delete. This will leave a little white highlight.”

    Should be press up and right two times and hit Delete.

    ( Reply )
  32. PG

    Metin Ucar December 14th

    I can roughly say it’s a pretty good tutorial. At least what you get at the end looks good. Yet, I’d argue about the quality. It could have been more detailed. In some steps, the author should have included some descriptive pictures taken while s/he worked on it in photoshop.
    I hope to see a better written tutorial from this author. Because the result is satisfying.

    ( Reply )
  1. Arrow
    Gravatar

    Your Name
    December 14th