Create Non-Raster Drop Shadows

Illustrator has the ability to add raster effects to elements like outer glows, inner glows, and drop shadows. Vector art is great because you can scale them to any size. That is why I try not to use the raster effects in final output. One area this creates a problem, is drop shadows, but there are a couple of easy ways to add drop shadows using blends and gradients rather than raster effects.
Notes
This tutorial was created with Illustrator CS3.
Keyboard shortcuts are displayed in orange. ⌘ is displayed for the Command key (mac), with the Ctrl key being the Windows equivalent (not displayed).
Gradient Drop Shadows - Hover
First draw a ellipse with the Ellipse Tool (l). When you are drawing the ellipse, hold down shift to constrain the height and width to make a perfect circle. Next, fill the circle with a Radial Gradient from the Gradient Panel and take off the stoke. Make the inside color of the gradient black (the left swatch on the Gradient Slider) and make the outside color white (the right swatch on the Gradient Slider).

Select the circle with the Direct Selection Tool (v), grab the bottom handle, and squish the circle to about 1/8 the original size.

Next, place you artwork over the newly created drop shadow so the bottom of the artwork sits in the middle of the gradient. Done!

If you want the drop shadow over a particular color, you have some options. You can either change the white swatch in the Gradient Slider to match your background or select Multiply from the left drop-down menu in the Transparency Panel. Multiply is great for complicated backgrounds.

Gradient Drop Shadows - Perspective
Start with the object you want to add a drop shadow to, Copy (⌘c) the object and Paste In Front (⌘f). Create a Linear Gradient (>) from the Gradient Panel, and keep the default black and white gradient swatches. Use the Gradient Tool (g) and click and drag from the top of the object to the bottom, so black is at the bottom of the object.

Next, go Object > Transform > Shear, to bring up the Shear dialog. Change the Shear Angle to -40, select Horizontal, change the Angle to 0 and press OK. Send the gradient behind the original shape by going Object > Arrange >Send Backward (⌘[).

Select the gradient with the Direct Selection Tool (v), grab the top handle, and squish the gradient to the desired angle. Next, select both shapes and press the Horizontal Align Right button from the Align Panel, and scale and move as desired. All done!

You can also change the color of the white swatch on the Gradient Slider or set the object to Multiply if you want to put the drop shadow on a color background.

Blend Drop Shadows
Gradient Drop Shadow are great, but the Blend Drop Shadows are more versatile for complex shapes and objects.
Select the object you want to add a drop shadow to and Copy (⌘c) the object and Paste In Front (⌘f). Fill the object with black and take off the stroke. Next, go Object > Path > Offset Path. In the Offset Path dialog you are going to want to change the Offset. I haven’t found any consistent way to proportionately create an offset for any sized object. I have tried to use percentages, but get varied results from time to time. The best way I came up with, is the treat the offset like a stroke by filling in the Offset number with a point value. In the example I show below, I typed 20 pt for the Offset (the pic below shows .2778 in because Illustrator converts the value to your documents unit value).

Once you get the Offset how you like it, fill it with white. Next, select both the white and black objects an create a Blend by going Object > Blend > Make (⌘ alt/option b). With the blend still selected, send it behind the original artwork by going going Object > Arrange >Send Backward (⌘[). Now, scale and move the blend for the desired effect!

Just like the Gradient Drop Shadows, you can place the Blend Drop Shadows over color. You can set the drop shadow to Multiply or change the color of the white object in the blend to match the background color.

Example Uses
Below are some basic examples of using these drop shadows, but there is room for a great deal of experimentation and exploration!


Matt
May 28th, 2008
nice, definitely a good tip. I like that you did blend, and didnt just lower the opacity.
George Coghill
May 28th, 2008
Interesting tips!
WishMyLove
May 28th, 2008
Very good! I like your site!
Grant Friedman
May 28th, 2008
Great tips!
kailoon
May 29th, 2008
this is another impressive one
Thanks! I learn a lot about illustrator from you
plechi
May 29th, 2008
good one!
finbarr
May 29th, 2008
Thanks for the tip!
Jon Miller
May 29th, 2008
Great site. Keep the tips coming.
marizmendi
May 29th, 2008
Guao..! very smart, thanks for sharing
George
May 29th, 2008
Gradient Drop Shadows is actually the oldest trick to create any decent color blend or drop shadow before filter or effect showed up in Illustrator (like Illustrator 3.0). I am glad people still remember to use this.
Andrej
May 29th, 2008
I also do it with blends mostly. Nice tut.
BTW: Congrats on the featured illustrator at IS
Rype
May 29th, 2008
Thanks Andrej! I was pretty excited.
Grafiko
May 31st, 2008
Great, it is so simple that never had crossed my mind doing shadows that way. Great site!
Andre
May 31st, 2008
Thanks for the tips!
Loon Design
May 31st, 2008
[…] Category: IllustratorLearn It Now […]
Jenny Burgesse
June 6th, 2008
I can’t get this to work with a ’rounded corners’ object. When I made the blend, I just get a thick solid grey bar around the black box…
-_-;
Rype
June 6th, 2008
Not sure what could be wrong…
I’m sure you tried this, but are the rounded corners expanded?
Grsfiko
June 8th, 2008
Never thought of doing shadows that way, great tip
Qvectors
June 21st, 2008
i created an icon a few days back and was wondering why my shadow looked odd when i resized it, this method is what i should have done.
thanks
Daniel Geraldi
June 30th, 2008
Fantastic tips!
Thanks!
Scott
July 16th, 2008
Nice! I like the look/vibe of your site.
Here’s a refinement for matching the gradient into a solid color: add the background color to the black end of the gradient. EG: for 100% cyan background, mix black in gradient as 100c0m0y100K. Also fixes grayness in the middle of Black>color gradients in general.
Thanks for tips n tuts
jennyvier
September 5th, 2008
Got it! Still not sure why this wasn’t working before…
Not only does this scale well, it looks much better when working with tiny icons in Illustrator.
Thanks so much! This has definitely replaced ‘Apply Dropshadow’ for me.
◄IVAN►
September 12th, 2008
Wonderful
.. like it
Smashing Magazine
October 8th, 2008
[…] Create Non-Raster Drop Shadows in Illustrator Here you’ll go through some well-detailed steps to create drop shadows with a few different approaches. […]
Smashing Magazine
October 8th, 2008
[…] Create Non-Raster Drop Shadows in Illustrator Here you’ll go through some well-detailed steps to create drop shadows with a few different approaches. […]
Dale McCarthy
October 20th, 2008
Helpful, I was really looking for shadows on type. I was have a problem when trying to repeat a logo on a package upside down on the file. When flipping the logo image it does not flip the shadow. I find shadows in illustrate so frustrating and can’t understand that they still don’t work like the do in photoshop. Can you help?
Rype
October 20th, 2008
Dale,
Try Expanding the Appearance by going Object > Expand Appearance. Let me know if that works.