# When the model transparency is less than 1, the shadow will disappear

**URL:** <https://forum.babylonjs.com/t/when-the-model-transparency-is-less-than-1-the-shadow-will-disappear/46875>\
**Category:** Questions\
**Created:** [January 2, 2024, 6:40am UTC](https://forum.babylonjs.com/t/when-the-model-transparency-is-less-than-1-the-shadow-will-disappear/46875 "2024-01-02T06:40:20Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![lxq100](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/lxq100/32/43689_2.png) [@lxq100](https://forum.babylonjs.com/u/lxq100)\
**Post date:** [January 2, 2024, 6:40am UTC](https://forum.babylonjs.com/t/when-the-model-transparency-is-less-than-1-the-shadow-will-disappear/46875/1 "2024-01-02T06:40:20Z")

</div>

Manually drag visibility, if the value is less than 1, the shadow will disappear

> **[Babylon.js Playground](https://playground.babylonjs.com/#IIZ9UU)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/2/8/28fe698923f4d1d2ee6c7b053095016b537f85e3.jpeg)

 ![image](https://us1.discourse-cdn.com/flex024/uploads/babylonjs/original/3X/f/1/f1ad42f631311a1cd9189b9f8a19aa690059fad7.jpeg)

---

<div class="post-metadata">

**Author:** ![tanpopo](https://sea2.discourse-cdn.com/flex024/user_avatar/forum.babylonjs.com/tanpopo/32/32025_2.png) [@tanpopo](https://forum.babylonjs.com/u/tanpopo)\
**Post date:** [January 2, 2024, 10:39am UTC](https://forum.babylonjs.com/t/when-the-model-transparency-is-less-than-1-the-shadow-will-disappear/46875/2 "2024-01-02T10:39:24Z")

</div>

You should enable `transparencyShadow` on shadowGenerator. It is disabled by default.

> **[Babylon.js Playground](https://playground.babylonjs.com/#IIZ9UU%23456)**
>
> Babylon.js playground is a live editor for Babylon.js WebGL 3D scenes
