# UE5 Refraction Problem

**URL:** <https://forums.unrealengine.com/t/ue5-refraction-problem/751958>\
**Category:** Programming & Scripting\
**Tags:** refraction, unreal-engine, question, Blueprint\
**Created:** [January 18, 2023, 11:36am UTC](https://forums.unrealengine.com/t/ue5-refraction-problem/751958 "2023-01-18T11:36:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThisIsPoorAlex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThisIsPoorAlex](https://forums.unrealengine.com/u/ThisIsPoorAlex)\
**Post date:** [January 18, 2023, 11:36am UTC](https://forums.unrealengine.com/t/ue5-refraction-problem/751958/1 "2023-01-18T11:36:35Z")

</div>

Hello,  
I am trying to setup my water materiall and got this artifact.  
The refraction works all over the mesh apart from the outline. The outline stays the same shape and the parts that would be changed are filled in completely white.I think its cousing by Depth shader and I can’t figure out why.

 ![Unreal Engine 5 Screenshot 2023.01.18 - 14.27.49.70](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/5/d/a5db6c4bd13dc70bcc924a232071b0fdebeefd4f.jpeg)  
 ![Unreal Engine 5 Screenshot 2023.01.18 - 14.28.48.22](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/e/a/feab19b5a980243a7c1e1f57534b918040d8fc23.jpeg)  
 ![Unreal Engine 5 Screenshot 2023.01.18 - 14.29.17.70](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/4/0/a40a2784457aadd58e63707fc53f86b1848335c3.jpeg)  
 ![Unreal Engine 5 Screenshot 2023.01.18 - 14.29.30.59](https://d3kjluh73b9h9o.cloudfront.net/original/4X/5/5/d/55d4728410c24ac591bc265c27856b2709afbe86.jpeg)  
 ![Unreal Engine 5 Screenshot 2023.01.18 - 14.29.51.30](https://d3kjluh73b9h9o.cloudfront.net/original/4X/f/f/6/ff63cbd5e4573e6ce5a326bd4f09a1ff704b8c75.jpeg)

---

<div class="post-metadata">

**Author:** ![ThisIsPoorAlex](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@ThisIsPoorAlex](https://forums.unrealengine.com/u/ThisIsPoorAlex)\
**Post date:** [January 19, 2023, 4:00pm UTC](https://forums.unrealengine.com/t/ue5-refraction-problem/751958/2 "2023-01-19T16:00:19Z")

</div>

Solved problem by setting translucency pass

 ![Unreal Engine 5 Screenshot 2023.01.19 - 18.56.37.50](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/6/b/26b5131338a583bae902341d94313b2d53b183c9.jpeg)  
 ![Unreal Engine 5 Screenshot 2023.01.19 - 18.59.54.60](https://d3kjluh73b9h9o.cloudfront.net/original/4X/e/e/c/eeca3399eda3977e79a3f2f0b1ff61a7a189dcc9.jpeg)
