# Window Rain Distortion?

**URL:** <https://forums.unrealengine.com/t/window-rain-distortion/316330>\
**Category:** Rendering\
**Tags:** windows, rain, unreal-engine, question, distortion\
**Created:** [April 24, 2015, 11:54pm UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330 "2015-04-24T23:54:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![anonymous\_user\_3508626f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3508626f](https://forums.unrealengine.com/u/anonymous_user_3508626f)\
**Post date:** [April 24, 2015, 11:54pm UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/1 "2015-04-24T23:54:06Z")

</div>

I’ve been trying to create a rain distortion on a window in my project, but I can’t seem to achieve it in a material. Could anyone help out?

Thanks.

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [April 25, 2015, 12:01am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/2 "2015-04-25T00:01:02Z")

</div>

If you are trying to make something like [this you need a mask(black&white texture) and normal map for droplets, and use the mask for refraction input. To go byond that with running droplets you could use a flipbook texture in addition to static droplets. That’s how i made it in that video.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3508626f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3508626f](https://forums.unrealengine.com/u/anonymous_user_3508626f)\
**Post date:** [April 25, 2015, 2:41am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/3 "2015-04-25T02:41:24Z")

</div>

Would it be possible for you to post a screenshot of your material?

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [April 25, 2015, 2:56am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/4 "2015-04-25T02:56:50Z")

</div>

I’m afraid not, not yet anyway. It isn’t anything complex but just too messy to share right now. The current version also has dynamic droplets hitting the window, which makes things a bit more crowded. I will share it in the forums sometime in the future though.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3508626f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3508626f](https://forums.unrealengine.com/u/anonymous_user_3508626f)\
**Post date:** [April 25, 2015, 4:29pm UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/5 "2015-04-25T16:29:22Z")

</div>

Ok, so I was able to get a normal map and a mask, but I’m not sure what to do next. Here’s an image of the material:

 ![40254-rain.png](https://d3kjluh73b9h9o.cloudfront.net/original/4X/a/e/5/ae5b5cb08c630ae517ec323cd4aec0aa1ac79321.png)

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [April 25, 2015, 5:53pm UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/6 "2015-04-25T17:53:14Z")

</div>

In it’s most basic form, you need to do something like this:

 ![40258-refrack.jpg](https://d3kjluh73b9h9o.cloudfront.net/original/4X/9/b/6/9b62ad305e0a786a1584b3dfc44cacd0c1b3af1a.jpeg)

You can increase the tiling by plugging Texture Coordinate nodes to the textures.

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_3508626f](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_3508626f](https://forums.unrealengine.com/u/anonymous_user_3508626f)\
**Post date:** [April 25, 2015, 6:13pm UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/7 "2015-04-25T18:13:52Z")

</div>

Great! Worked out perfectly with my textures, thanks a lot for the help 🙂

---

<div class="post-metadata">

**Author:** ![anonymous\_user\_1f800c4b](https://d3kjluh73b9h9o.cloudfront.net/original/4X/2/8/5/28502927f1d97ba1051b3b47ccfe17233bf41ef0.png) [@anonymous\_user\_1f800c4b](https://forums.unrealengine.com/u/anonymous_user_1f800c4b)\
**Post date:** [October 7, 2015, 12:27am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/8 "2015-10-07T00:27:57Z")

</div>

I would curious how you create the texture for the droplets …

---

<div class="post-metadata">

**Author:** ![Jacky](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/jacky/32/918690_2.png) [@Jacky](https://forums.unrealengine.com/u/Jacky)\
**Post date:** [October 7, 2015, 1:36am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/9 "2015-10-07T01:36:46Z")

</div>

You need to find one on [google or create it in a modeling program. Creation isn’t a simple process i can explain here unfortunately and each program has different workflows so you’ll have to find a tutorial on your program’s particle effect tools.

---

<div class="post-metadata">

**Author:** ![Blockmind](https://d1ap1mz92jnks1.cloudfront.net/user_avatar/forums.unrealengine.com/blockmind/32/703144_2.png) [@Blockmind](https://forums.unrealengine.com/u/Blockmind)\
**Post date:** [October 21, 2018, 8:50am UTC](https://forums.unrealengine.com/t/window-rain-distortion/316330/10 "2018-10-21T08:50:26Z")

</div>

I released a material on the market that do exactly what you need. It can be applied to refractive surfaces and has a post process option. Check this link out:

> **[Animated Rain/Waterdrop Material in Materials - UE Marketplace](https://www.unrealengine.com/marketplace/en-US/product/animated-rain-waterdrop-material)**
>
> This material set is used for rain flow effect on surfaces like glass windows or solid surfaces. Scene is included.
