am learing Illustrator and this is in learing purpose. I try to draw one product in vector. Almost done but am not shure how to make this rounded shadows to be like on photo?

Check screenshot.

On left side is my work. Maybie this is not good apporch for professionals but am beginer.

enter image description here


2 Answers 2


I would recommend to choose a softer color for the front shadow. You can also drag the shadow gradient a slight bit farther down. The picture looks a little bit, as if they used some kind of blur on the edge of above the sharp shadow. You can use a line and some gaußscher blur, to soften that edge.

For the shape of the shadow (especially the corners) I would recommend you to look into the topic "Gradient mesh". It can totally transform your gradient game.

Lastly I would recommend to look closer to the colors used in the original picture. You are quite close. But you could add to the right side of the item a slightly ligther color, beneath the darkest point of the corner.

Tutorial for Gradient meshs


Actually everything essential is already said by others 4 days ago, but some details maybe are still welcome.

I tried to make a colorization example by drawing some vector shapes (the front top part only) on your image, but the the result was at least double as wonky as your own attempt. One should be much more skilled to get it right by tracing manually a low resolution photo.

To get something done I gave up and made my drawing based on a simpler, but much sharper image of another box. The box only resembled yours, but it had roundings and the top surface was extended to make a protruding visor. Here's the drawing:

enter image description here

The blue background was inserted the reveal holes and leaks caused by non-fitting seams and transparency.

This is made in Illustrator, but it uses nothing which is unavailable for Inkscape or Affinity Designer users. Using Illustrator's gradient meshes and paths instead of blurred shapes keeps the colors well inside the shape areas without a clipping mask and they do not generate unwanted transparency.

The perspective is quite extreme. I admit I wouldn't never get it right by starting from a blank screen with no underlaying reference. But that wasn't your problem, you asked a receipe for shadows. In the next image the drawing is exploded:

enter image description here

The wide curved linear gradient zone between the rooftop and the vertical right wall doesn't fit well, the perspective needs actually a conical gradient, but I do not used it. Fortunately the piece is here so short that the error is difficult to see.

The space below the visor is made by inserting a wide heavily blurred partially transparent black line. The rooftop covers about 50% of the blurred area, but at the left edge a little blur escapes outside the shape area. It's suppressed by inserting finally a clipping mask.

The rounded front edge of the visor was tricky. Rounding has virtually always some gloss. A transversal gradient is needed to make the gloss. The rounded edge areas (except the biggest one) are united to one and it has a gradient fill to make it darker in the right where its surrounding is darker. It was originally too near white, but its opacity is reduced to make it less offensive. That unfortunately leaks the background, but a white background patch fixed it.

As said, the rounded zone needs a transversal gradient to make it look round. To get it a white blurred stroke was drawn along the midline of the rounding zone.

In the back there's a big white patch just above the blue. It stops the blue leaking through transparency in few places. It's a Pathfinder union of all shapes. A duplicate of the same shape is used on the top as clipping mask for all. It's needed to stop the blurred black and white to escape outside the box area.

  • I dont what to say! ITs amazing. I dont know how i dont get idea for rounding borders??? :/ By the way i just tako orginal photo and draw with pen tool all parts and try to get it with gradient.
    – Ivan
    Oct 25 at 21:34

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.