# Not all objects can receive Shadow Map

**URL:** https://forum.castle-engine.io/t/not-all-objects-can-receive-shadow-map/2064
**Category:** Bugs
**Created:** [December 11, 2025, 5:21pm UTC](https://forum.castle-engine.io/t/not-all-objects-can-receive-shadow-map/2064 "2025-12-11T17:21:54Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Recongalina](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/recongalina/32/1530_2.png) [@Recongalina](https://forum.castle-engine.io/u/Recongalina)
#### Post date: [December 11, 2025, 5:21pm UTC](https://forum.castle-engine.io/t/not-all-objects-can-receive-shadow-map/2064/1 "2025-12-11T17:21:54Z")

</div>

Hello again.  
Yes, this is another very old problem…  
The problem is that when I create an .x3dv scene with lights using a Shadow Map, only objects into the .x3dv file receive shadows. Objects outside the file but within the same GameView can only cast shadows but not receive them.

Maybe I just forgot to enable some property?

 ![image](https://forum.castle-engine.io/uploads/default/original/2X/5/5a1b10bd61f7e52b15ae26d13ddfaecefe8c3864.jpeg)

There is my test:

[Test\_ShadowMap\_Reachability.zip](https://forum.castle-engine.io/uploads/short-url/oEIGCVO9TYbhY4oChHfpJjV8G1S.zip) (261.2 KB)

---

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [December 18, 2025, 12:43am UTC](https://forum.castle-engine.io/t/not-all-objects-can-receive-shadow-map/2064/2 "2025-12-18T00:43:23Z")

</div>

( Sorry for delay in answering, I’m fighting this week with a backlog of tasks 🙂 )

This is indeed a known limitation, and high on my priority list. See the [roadmap item: Make shadow maps available by a trivial property on light sources](https://castle-engine.io/roadmap#shadow_maps). As subtask of it, we need to solve this: _“The lights cast shadow maps only within the same scene.”_ . See also my notes along the lines “we need to improve shadow maps” in [news from June 2025](https://castle-engine.io/wp/2025/06/21/slides-and-example-from-delphi-day-2025-presentation-and-after-thoughts-afterwarp-shadow-maps-bgfx-and-deferred-rendering/).

I know, this sucks big time, making shadow maps (which have otherwise various advantages over shadow volumes) tricky to use.

Stay tuned, we should just solve this 🙂 I added this thread and your testcase to check then.

---

<div class="post-metadata">

### Author: ![Recongalina](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/recongalina/32/1530_2.png) [@Recongalina](https://forum.castle-engine.io/u/Recongalina)
#### Post date: [December 18, 2025, 3:53pm UTC](https://forum.castle-engine.io/t/not-all-objects-can-receive-shadow-map/2064/3 "2025-12-18T15:53:58Z")

</div>

I understand. Thank you for your reply. I’ll follow the news 🙂
