# 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:** 1\
**Showing post:** 4

<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)

---

_[View the full topic](https://forums.unrealengine.com/t/disable-shadow-on-ocean/1814341)._
