# How do i add shadows to my game?

**URL:** <https://forum.defold.com/t/how-do-i-add-shadows-to-my-game/82123>\
**Category:** Questions\
**Created:** [December 21, 2025, 2:04am UTC](https://forum.defold.com/t/how-do-i-add-shadows-to-my-game/82123 "2025-12-21T02:04:12Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Pawel](https://forum-defold.b-cdn.net/user_avatar/forum.defold.com/pawel/32/24623_2.png) [@Pawel](https://forum.defold.com/u/Pawel)\
**Post date:** [December 23, 2025, 8:28am UTC](https://forum.defold.com/t/how-do-i-add-shadows-to-my-game/82123/2 "2025-12-23T08:28:48Z")

</div>

Yes, classic shadow mapping is one of the nicest methods 😉 You can check out how it’s done in Lights and Shadows:

> [@Light and Shadows example](https://forum.defold.com/t/light-and-shadows-example/71713):
>
> As part of the ongoing [jam](https://itch.io/jam/madewithdefold-jam-2), I prepared an asset that includes a pack of shaders, materials and scripts for creating a 3D/2.5D game with shadows and light. And here it is: [GitHub - Dragosha/defold-light-and-shadows: Pack of shaders to make light and shadows in Defold. · GitHub](https://github.com/Dragosha/defold-light-and-shadows) Html5 demo: [Light and Shadows 0.85](https://dragosha.com/defold/Light_and_Shadows/) Press and hold left mouse button to move the camera. Click on coins to collect them. Works on mobile as well.

Or in the newest Defold 3D Playground with shadow mapping:

> [@Defold 3D playground sample](https://forum.defold.com/t/defold-3d-playground-sample/82132):
>
> Hi! It’s a giving time and we have a little present for you: wrapped_gift a 3D third person playground sample where you can go around, collect gold and store it - it comes with a character controller, physics, virtual gamepad, and shadow mapping! The credit goes to @sergeysinyavsky for preparing this example and Kay, Kenney and Mesh2Motion for the assets! orange_heart P.S. We will add a little bit of a manual/documentation for it and it will be added to the Samples in Defold w…

---

_[View the full topic](https://forum.defold.com/t/how-do-i-add-shadows-to-my-game/82123)._
