# SingleLayerWater shadow issues

**URL:** <https://forums.unrealengine.com/t/singlelayerwater-shadow-issues/548879>\
**Category:** Plugins\
**Tags:** unreal-engine, UE4-26, Plugins\
**Created:** [May 4, 2022, 6:15pm UTC](https://forums.unrealengine.com/t/singlelayerwater-shadow-issues/548879 "2022-05-04T18:15:35Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![StumpyTwig](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@StumpyTwig](https://forums.unrealengine.com/u/StumpyTwig)\
**Post date:** [July 15, 2023, 4:04am UTC](https://forums.unrealengine.com/t/singlelayerwater-shadow-issues/548879/5 "2023-07-15T04:04:34Z")

</div>

I believe this is the solution! It fixed my shadows anyway. Scroll down to the bottom of the post.

> [@Blocky shadows on Single Layer Water](https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034/11):
>
> OK, I figured it out. I noticed with r.Water.SingleLayer.DepthPrepass=1 while the shadows were still blocky, the blocks would get smaller when you zoom into them. So in searching for other settings I found r.Water.SingleLayer.ShadersSupportVSMFiltering and r.Water.SingleLayer.VSMFiltering. Adding all 3 the DefaultEngine.ini like so: r.Water.SingleLayer.DepthPrepass=1 r.Water.SingleLayer.ShadersSupportVSMFiltering=1 r.Water.SingleLayer.VSMFiltering=1 Gives you nice soft virtual shadows on wa…

---

_[View the full topic](https://forums.unrealengine.com/t/singlelayerwater-shadow-issues/548879)._
