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"

Layer Blends and Splat Map Issue

Has the way layer blends work changed fundamentally in more recent engine versions? I have been following several tutorials for using splat maps to use color channels to define the heights of landscape layer blends in a landscape material. The issue is that the landscape only renders black in the editor. All these tutorials are a bit older, I assume something has changed in how landscape layer blend works, because if I use multiplies and adds to do the same thing I get expected results, but once I have anything to do with defining and using a landscape layer blend it renders the landscape as black in the editor. I have defined layer information sections for each layer defined, still nothing. One tutorial mentioned they were using 4.5. All the tutorials follow the same approach so something must have changed. Anyone have success using a splat map and could you show me an example where you also successfully defined landscape layers. I am particularly interested in using splatmap from World Machine to UE4.

Product Version: UE 4.13
Tags:
more ▼

asked Oct 07 '16 at 12:49 AM in Blueprint Scripting

avatar image

NawTCar
138 10 15 29

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

If your tutorial says to connect a multi-colored weightmap to the "height" inputs on a "landscape layer blend" node, it is and always has been wrong. That is not what the height inputs are for.

The correct way to handle it is to disable height blending in the material, and import the layer weights through the landscape editor UI instead. You will need a separate grayscale png image for each layer, and you can either import it when you create the landscape (assign a material in the import dialog and it allows you to import the layers that match that material) or later by right-clicking the layers in the "paint" tab of the landscape editor.

Something has changed recently (in 4.13), in that unpainted landscapes now correctly render as unpainted instead of showing the preview weightings from the material editor.

Can you show me the tutorial you followed?

more ▼

answered Oct 07 '16 at 08:24 AM

avatar image NawTCar Oct 07 '16 at 11:53 AM

Thanks for the quick reply. Here is one of several tutorials that all use the same technique in the layerblend node. I'm sure you already know this, but just in case please note that each of the channels in the colorized splatmap are infact grayscale, but the RBG full channel shows colors. (In other words when they connect the red channel of the splatmap to a height in the layerblend, it is a grayscale image that is being communicated). The tutorial hits the main process, which imports each individual color channel as grayscale image into its respective heightblend within the layerblend node, at just past 14 minutes in. Please let me know where they are getting in wrong and how you would recommend doing it, as nearly all the tutorials I have been able to find show nearly the exact same process

https://www.youtube.com/watch?v=K9WTKK9f1b8

avatar image Gareth Martin STAFF Oct 07 '16 at 11:59 AM

Yeah that video is just wrong. The height inputs on the blend node are not for landscape-level blending like they have done, they are for local details (like individual rocks).

Import your layers through the landscape editor and turn off height blending.

See the docs on importing layers: https://udn.unrealengine.com/docs/ue4/int/engine/landscape/Custom/index.html (although I would recommend using the landscape layer blend node instead of cascading weight nodes like they have there, that's an older style, I've requested the docs be updated to use a blend node)

avatar image VICTRON_SL Oct 15 '17 at 11:34 AM

What about tiled landscape? Same process?

avatar image uyoli Sep 07 '17 at 11:51 AM

@Gareth Martin: I need to be able to blend layers based on a splat map inside a same material, is this still possible and if so, how? Thanks.

avatar image BlueberryFox Feb 28 '18 at 05:38 PM

Hey did you find a solution to this or is there another way to use RGB splatmaps?

(comments are locked)
10|2000 characters needed characters left
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