# Disable Shadow on Ocean

**URL:** <https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341>\
**Category:** World Creation\
**Tags:** unreal-engine, question\
**Created:** [April 21, 2024, 6:09pm UTC](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341 "2024-04-21T18:09:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gastouuu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gastouuu](https://forums.unrealengine.com/u/Gastouuu)\
**Post date:** [April 21, 2024, 6:09pm UTC](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341/1 "2024-04-21T18:09:35Z")

</div>

Hi guys,

I am using the WaterBodyOcean

I would like my Ocean to not receive any shadows

I already tried to change some settings in the Rendering section but I can’t find the solution

I would really appreciate any help, thank you 🙏

---

<div class="post-metadata">

**Author:** ![Gastouuu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gastouuu](https://forums.unrealengine.com/u/Gastouuu)\
**Post date:** [April 23, 2024, 3:13pm UTC](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341/2 "2024-04-23T15:13:07Z")

</div>

Up 🙏

---

<div class="post-metadata">

**Author:** ![SupportiveEntity](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@SupportiveEntity](https://forums.unrealengine.com/u/SupportiveEntity)\
**Post date:** [April 25, 2024, 5:54am UTC](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341/3 "2024-04-25T05:54:12Z")

</div>

Hey there @Gastouuu! I had to test and verify if using lighting channels worked around this, but apparently they don’t work for this use case. So since the water system’s material relies on being lit, you’d have to change the entire way the water material is setup to be able to swap to an unlit material mode necessary to remove all shadows.

---

<div class="post-metadata">

**Author:** ![Gastouuu](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@Gastouuu](https://forums.unrealengine.com/u/Gastouuu)\
**Post date:** [April 25, 2024, 3:48pm UTC](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341/4 "2024-04-25T15:48:36Z")

</div>

Hey, thanks for your help!

Seems a bit complicated, I’ll see if I can find another solution

I have blocky shadows on my ocean and the solution stated here [Blocky shadows on Single Layer Water - #10 by Arkiras](https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034/10) doesn’t work for me.

I added this:

r.Water.SingleLayer.DepthPrepass=1  
r.Water.SingleLayer.ShadersSupportVSMFiltering=1  
r.Water.SingleLayer.VSMFiltering=1

in my DefaultEngine, build all levels and recompile shaders but it didn’t worked 😕

 ![Capture d’écran (319)](https://d3kjluh73b9h9o.cloudfront.net/original/4X/c/c/1/cc14d2472292a51aa8c7b02b12c3968170430987.jpeg)
