# Can't get shadows working at all

**URL:** <https://discourse.threejs.org/t/cant-get-shadows-working-at-all/27451>\
**Category:** Questions\
**Tags:** shadows\
**Created:** [June 22, 2021, 8:03pm UTC](https://discourse.threejs.org/t/cant-get-shadows-working-at-all/27451 "2021-06-22T20:03:16Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jazcash](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jazcash/32/19093_2.png) [@Jazcash](https://discourse.threejs.org/u/Jazcash)\
**Post date:** [June 22, 2021, 8:03pm UTC](https://discourse.threejs.org/t/cant-get-shadows-working-at-all/27451/1 "2021-06-22T20:03:16Z")

</div>

> **[Map Preview - CodeSandbox](https://codesandbox.io/s/map-preview-22xcf?file=%2Fsrc%2Findex.ts)**
>
> Map Preview by Jazcash using @types/three, three

I have this scene and I’m trying to make it look as good as possible, but can’t get shadows working at all for the life of me. Have tried all the different kinds of lights and the only one that casts shadows at all seems to be the PointLight, but it doesn’t fit what I want in other ways. Can anybody help me figure out how to get shadows working with the DirectionalLight?

Also, unrelated, if anybody has any tips or ideas of how I can improve the graphics in my scene to get it to look awesome that’d be great

---

<div class="post-metadata">

**Author:** ![Drumstructor](https://avatars.discourse-cdn.com/v4/letter/d/41988e/32.png) [@Drumstructor](https://discourse.threejs.org/u/Drumstructor)\
**Post date:** [June 23, 2021, 3:32pm UTC](https://discourse.threejs.org/t/cant-get-shadows-working-at-all/27451/2 "2021-06-23T15:32:29Z")

</div>

maybe your mesh is out of the shadow cameras frustum.

you could have a look here: [Weird shadows on collada model](https://discourse.threejs.org/t/weird-shadows-on-collada-model/27403)

---

<div class="post-metadata">

**Author:** ![Jazcash](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.threejs.org/jazcash/32/19093_2.png) [@Jazcash](https://discourse.threejs.org/u/Jazcash)\
**Post date:** [June 24, 2021, 7:57am UTC](https://discourse.threejs.org/t/cant-get-shadows-working-at-all/27451/3 "2021-06-24T07:57:58Z")

</div>

I worked out how to increase the shadow camera’s “frustrum”: [Map Preview - CodeSandbox](https://codesandbox.io/s/map-preview-22xcf?file=/src/index.ts)

but now the whole thing is just darker, still no shadows
