landscape materials showing completely black when applied to landscape

Hello, after following the Landscape quick start guide ( https://docs.unrealengine.com/latest/INT/Engine/Landscape/QuickStart/5/index.html ), my material for the landscape is been showed completely black once applied to the landscape.
I’ve followed the steps multiple times, the only think I couldn’t find is the “Used with Landscape” checkbox from the material node, anything else is set as showed in the link above, can someone please help as I’m giving up on trying to figure out wy is behaving this way, thanks

Hello Macchelo,

What you need to do is set the Preview Weight within your Layer Blend nodes, so that when you apply the material to your landscape, by default it renders with those preview weights applied.

Once you have starting painting with your selected layers, you will noticed how the area gets overridden with that particular layer.

Let me know if you have further questions or need additional assistance.

Thank you,

I do have the preview weight set to 1 for the first layer and 0 for the other 2 layers, I should have mentione that.

Have you attempted to paint on your landscape?

Also, the ‘Used with Landscape’ checkbox has been removed as this is automatically detected when you apply a material to a landscape actor.

painting works fine: but the rest of the landscape that is not been painted will stay black

What you need to do is set the Preview Weight within your Layer Blend nodes, so that when you apply the material to your landscape, by default it renders with those preview weights applied.

It was actually a bug that it used the preview weights on a blank landscape, and this is no longer the case in 4.13 onwards. The preview weights were only intended for the material editor preview.

The correct solution is to right-click one of your layers in the landscape editor and choose “Fill”. This will fill the landscape with that layer, and then you can paint normally from there.

Also, if you assign your material and layers before creating your landscape, the editor will automatically fill the first weight-blended layer for you.

Thank you, that’s exactly the info I needed, it might be worth to update the landscape quick start guide tutorial page with this info since I tried to follow it step by step and it gave me quite some headache since the behaviour is different. Thanks again

Hi there, just chiming in as I have been having exactly the same issue.

I have followed everything suggested above however, nothing works, the landscape remains black for me.
Also, in the paint landscape and layers, I can’t right click them and click ‘‘fill layer’’, no context menu comes up when I right click.

Could you make any other suggestions?
Many thanks

Craig

Can you provide me with screenshots of your Editor while in Landscape Paint mode?

You need to make sure you have LandscapeLayerInfo for each layer you have created. You can then right-click and choose the ‘Fill Layer’ option.

Let me know if you are still having trouble.

Thanks,

http://i.imgur.com/M8imolX.png?1

Hi thanks for the quick reply

However I’m not sure what you mean by ‘LandscapeLayerInfo’, how do I add that to each layer, and by ‘layer’, are you referring to the landscape paint tool area?

Cheers

As I guessed, you need to create/add more LandscapeLayerInfo for each layer so you can use the ‘Fill Layer’ option.

Ok I’ve just done that, and now I can ‘fill’ layers, however the material isn’t doing what I’ve asked it to do as I’m using a splat map to separate out each texture to various heights in my material setup. But it’s not doing that unfortunately. :frowning:

That’s the bug that was mentioned in this tread

Oh I see. But does that mean it’s unresolved or is there some work around?
Is it worth maybe going back to 4.12.5 until this gets fixed?

Cheers

I think you might still be misunderstanding the issue. The behavior in 4.12.5 and earlier was incorrect, which we have fixed for 4.13.1. This means what you are currently seeing is correct and expected.

The preview weights are meant only for the material editor preview window, and therefore should not be displayed on the actual landscape before establishing your LandscapeLayerInfo and painting.

Thanks,

Hi again Andrew.
Thank you again for the quick reply. But maybe I’m not explaining my issue correctly.

If you look in the material screenshot I posted earlier, I’m trying to separate out and layer my landscape with four different materials. To separate them out I’m using a “splat map (ID map essentially)” from world machine. When the material is setup the way I have done it, the four separate materials should automatically project across the landscape according to splat map they are hooked up to without me having to manually ‘paint’ anything. This is the issue I’m having as it is not doing that. Whereas in another project done in 4.12 it did work that way.

But the way I’m trying to do it just leaves a black landscape and even after I’ve added “layer information”, it still doesn’t work.
If you know of a resolution for this, please let me know.
Cheers

If that is the case, would you mind creating a new answerhub post detailing/outlining your issue and providing me with some steps and perhaps the file you are using so I can reproduce the issue on my end?

Just reply to this comment with a link to the post and I will assist you there. I am requesting this so others do not conflate or confuse this issue with the one originally posted.

Thank you,