# Directional Light Shadow Camera

**URL:** <https://forum.babylonjs.com/t/directional-light-shadow-camera/45499>\
**Category:** Questions\
**Tags:** lighting, camera, shadows\
**Created:** [November 6, 2023, 7:05pm UTC](https://forum.babylonjs.com/t/directional-light-shadow-camera/45499 "2023-11-06T19:05:34Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mori\_Norabadi](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/mori_norabadi/32/35328_2.png) [@Mori\_Norabadi](https://forum.babylonjs.com/u/Mori_Norabadi)\
**Post date:** [November 6, 2023, 7:05pm UTC](https://forum.babylonjs.com/t/directional-light-shadow-camera/45499/1 "2023-11-06T19:05:34Z")

</div>

hi  
i work on 3D web sites more than 1 years i pick **three js** as first 3D framework  
but resently i switch to **babylonJS**  
three js create camera for shadows in Directional Light object and customize and editing was very simple  
but… babylon js use somthing called shadow generator is really easy to use but i can’t modify shadow camera is there any way to create custom camera and force shadow generator to use that camera?  
or overwitre shadow generator camera ( and make sure shadow generator dont change it )

thanks for your helping 🙏 🙏 🙏

---

<div class="post-metadata">

**Author:** ![sebavan](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/sebavan/32/57_2.png) [@sebavan](https://forum.babylonjs.com/u/sebavan)\
**Post date:** [November 6, 2023, 10:39pm UTC](https://forum.babylonjs.com/t/directional-light-shadow-camera/45499/2 "2023-11-06T22:39:18Z")

</div>

What are you trying to achieve as all the parameters are available through the light or generator ?
