# How to stop Light Functions from projecting through meshes?

**URL:** <https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992>\
**Category:** Rendering\
**Tags:** projection, blocking, light-function, unreal-engine, question\
**Created:** [November 4, 2019, 1:29am UTC](https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992 "2019-11-04T01:29:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [November 4, 2019, 1:29am UTC](https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992/1 "2019-11-04T01:29:29Z")

</div>

I’ve created a custom Light Function for water caustics in my game, but the light function is projecting through the walls and floors of my map. The geometry is solid (not built with planes) and I’m not using any static lighting (it’s disabled in my project settings). Is there any way to block light function projections?

 ![](https://d3kjluh73b9h9o.cloudfront.net/original/4X/1/5/9/1598fd30649b2978c6fdc7e191c8f289c84a37e3.jpeg)

Thanks!

---

<div class="post-metadata">

**Author:** ![Redageddon](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Redageddon](https://forums.unrealengine.com/u/Redageddon)\
**Post date:** [November 4, 2019, 6:09pm UTC](https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992/2 "2019-11-04T18:09:14Z")

</div>

turn off shadow casting

---

<div class="post-metadata">

**Author:** ![TorQueMoD](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/torquemod/32/710746_2.png) [@TorQueMoD](https://forums.unrealengine.com/u/TorQueMoD)\
**Post date:** [November 6, 2019, 5:51am UTC](https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992/3 "2019-11-06T05:51:26Z")

</div>

Really!? Why would shadow casting go through walls and floors though? I’ll try it and let you know.

---

<div class="post-metadata">

**Author:** ![John\_CTS](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/john_cts/32/1197383_2.png) [@John\_CTS](https://forums.unrealengine.com/u/John_CTS)\
**Post date:** [October 9, 2024, 1:56am UTC](https://forums.unrealengine.com/t/how-to-stop-light-functions-from-projecting-through-meshes/457992/4 "2024-10-09T01:56:16Z")

</div>

Did you get a resolution to this?  
I’m having the same issue - disabling Cast Shadows didn’t help.  
(using v5.4)
