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"

How to get water to affect landscape "wetness"

alt text

Hi there, I have a landscape set up and a water plane that creates lakes and oceans. I have the water working with "Distance to Nearest Surface" to add shoreline effects, but I would like for the water on the shores to affect the landscape wetness to give it a more realistic look. I could use distance to nearest surface again, but then any object that I place on land will make it wet. Is there a way in the material to specify that it is only the water material that it reacts to, or even the water plane mesh? I'm fine with having to do this in blueprints as well. I just don't want to have to paint vertex colors around all my shorelines as that would take a very long time. Any tips or pointers would be great!

Product Version: UE 4.18
more ▼

asked Jan 14 '18 at 02:30 PM in Rendering

avatar image

80 9 16 24

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

1 answer: sort voted first

You need to calculate water level in landscape's material and change the roughness depending if pixel is below the water level or above it.

more ▼

answered Jan 15 '18 at 08:54 PM

avatar image

7.9k 130 31 293

(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