# Blocky shadows on Single Layer Water

**URL:** <https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034>\
**Category:** Rendering\
**Tags:** unreal-engine\
**Created:** [May 1, 2023, 7:14pm UTC](https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034 "2023-05-01T19:14:08Z")\
**Posts on this page:** 1\
**Showing post:** 11

<div class="post-metadata">

**Author:** ![3DMoss](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@3DMoss](https://forums.unrealengine.com/u/3DMoss)\
**Post date:** [May 1, 2023, 9:51pm UTC](https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034/11 "2023-05-01T21:51:06Z")

</div>

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 water:

 ![water](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/9/5/a953811ae891ea7cf56a3b1cc16a06bc98104b60.jpeg)

Thanks for the help with this!

---

_[View the full topic](https://forums.unrealengine.com/t/blocky-shadows-on-single-layer-water/1151034)._
