1

enter image description here

So as the title says, how can i make arbitrary shadows on vector like this without some colored vector on which that shadow will be put?

2
  • 1
    --- What have you tried? --- – Scott Oct 27 '19 at 0:24
  • What do you mean with "arbitrary"? It doesn't look like the shadow was randomly added to the image. Plus there is an object there, with the same color as the background. – Luciano Oct 28 '19 at 9:27
2

You could use a radial gradient for this. In the example below I created a radial gradient and squished it a little to make it oval shaped.

Example:

enter image description here

1
  • 1
    This is a cool method, I would set the inner color to 0% opacity. – WELZ Oct 27 '19 at 13:51
1

Billy Kerr suggested a good idea, I'm going to expand on it.

I created a radial gradient with two colors:

White, Opactiy 0%, Location 0%
Black, Opacity 30%, Location 100%

Adjust the bold value depending on how dark you want the shadow.

Adjust the slider depending on how large you want the shadow.


This allows for the shadow to be drawn on almost any color background.

GIF showing shadow on various backgrounds

2
  • actually I'd make the inner color black 0% instead of white, you can see a weird white-ish halo in some of the background colors – Luciano Oct 28 '19 at 9:29
  • @Luciano true, I guess that color can have varying degree of blackness-whiteness depending on use case. – WELZ Oct 28 '19 at 12:07
0
  • Use the Mesh Tool to make a mesh around the areas you want the color get darker
  • Use the Lasso Tool to select areas to change the color
  • With the Direct Selection Tool move the mesh points

enter image description here

Read more about how to work with a mesh here

3
  • Naah i think its a gaussian blur with some extra stuff on top – joojaa Oct 26 '19 at 20:23
  • Could be, I think there are several ways to get it – user120647 Oct 26 '19 at 20:25
  • Yeah but its very very close by default (see here), you'd be using a gradient mesh for a long time for same effect. – joojaa Oct 26 '19 at 20:28

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.