Rounded rectangle with 3D effect

I’m trying to make a sort of rounded rectangle card with a slight 3D effect.

Below is a basically what I have now. I make 3 rounded rectangles, and skew the “shadow” layers towards the bottom right.

enter image description here

It looks okay, but I just designed by eye and have no idea how the angles on any of the skews should be. Does anyone have reference or technique how to get this pixel perfect?

Thanks

Answer

Start with your rounded rectangle:

enter image description here

Then draw three lines that converge in the same spot somewhere to the bottom right of the rectangle:

enter image description here

Now, using the pen tool, draw a shape like this (make sure the corners line up nicely).

enter image description here

Now add a gradient to the new shape, reduce the opacity and change the angle to match the angle of the middle perspective line. Here’s the settings that worked for mine.

enter image description here

Create a new rounded rectangle below the shaded extruded layer but above the perspective lines:

enter image description here

Go to the layer panel and clip the extrusion layer to the new rectangle by holding ALT and clicking between the layers, the layer panel should look like this:

enter image description here

And here’s the final product:

enter image description here

Attribution
Source : Link , Question Author : user339946 , Answer Author : Circle B

Leave a Comment