x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

Window Rain Distortion?

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.

Product Version: Not Selected
Tags:
more ▼

asked Apr 24 '15 at 11:54 PM in Rendering

avatar image

Edkenway
131 16 18 28

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

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.

more ▼

answered Apr 25 '15 at 12:01 AM

avatar image

Jacky
16.8k 671 167 676

avatar image Edkenway Apr 25 '15 at 02:41 AM

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

avatar image Jacky Apr 25 '15 at 02:56 AM

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.

avatar image Edkenway Apr 25 '15 at 04:29 PM

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: alt text

rain.png (389.7 kB)
avatar image Jacky Apr 25 '15 at 05:53 PM

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

alt text

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

refrack.jpg (84.9 kB)
avatar image Edkenway Apr 25 '15 at 06:13 PM

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

avatar image Rajuk Oct 07 '15 at 12:27 AM

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

avatar image Jacky Oct 07 '15 at 01:36 AM

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.

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

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:

https://www.unrealengine.com/marketplace/animated-rain-waterdrop-material

more ▼

answered Oct 21 '18 at 08:50 AM

avatar image

Blockmind
1 1

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question