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"

Is there a way to blend Landscape Layer by both positive and negative heights?

I managed to get the landscape layers to blend depending on angle of the faces using the "World_Aligned_Blend" function. But I would like to be able to get the landscape to blend in another material bellow a certain height (sand for beaches and bellow the sea).
Is this possible without importing an external heightmap? I would prefer it to be blended automatically so I can sculpt the landscape without having to import a new mask every time.

Thanks in advance!

Product Version: Not Selected
Tags:
more ▼

asked Apr 16 '14 at 05:21 PM in Using UE4

avatar image

Sitrec
313 21 23 22

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

3 answers: sort voted first

This is a nice blogpost that shows how to do it :)

http://oliverm-h.blogspot.lt/2014/08/unreal-engine-4-automated-terrain.html

more ▼

answered Dec 23 '15 at 11:41 PM

avatar image

Senitelty
26 1 2 4

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

I've found a semi-solution to this. Notice the Boundingboxbased_0-1_UVW node going into the Dot function. This would work well, if your landscape only has one bounding box. However, UE4 automatically wants to use landscapes with multiple components, and therefore multiple bounding boxes.

This is a problem because the Boundingboxbased_0-1_UVW node references the lowest point and highest point per bounding box, leading to very strange results at grid sections (hills switching between grass and snow at grid lines). It's taking the average height, and interpolating where to place the textures based on that.

Unfortunately, I have found nothing to reference the world's global coordinates properly. Everything else I've tried either causes odd blending or clamps the layers to (above/below 0 on Z) which is not what I wanted.

Hopefully this at least gives you some ideas of how to implement a solution. This has been giving me a headache and giving me sad unhappy thoughts for the past few weeks. I'd very much appreciate your feedback

alt text

more ▼

answered Apr 26 '14 at 04:24 AM

avatar image

Daverex
271 14 17 134

avatar image Sitrec Apr 26 '14 at 07:43 AM

Thanks Daverex! I ended up importing a .raw file for the layer I needed, didn't manage to figure it out. You came much closer than I did though. Hopefully you'll be able to figure it out, I never got it this close to working so I can't really help much.

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

Here's a present, have fun.

alt text

more ▼

answered May 06 '14 at 11:01 PM

avatar image

Daverex
271 14 17 134

(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