3D Shading with Box-Shadows | Codrops
A tutorial about a technique that uses box shadows for creating a realistic shading effect on simple objects.
When working with 3D transformed elements, you might notice that they don’t have any shading and appear to be very flat. In real life, objects block light and have shadows. Surfaces can be matte, reflective, and everything in between. Indeed, we can do better.