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. 

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

Product Version: UE 4.13
Tags:
1.png (601.4 kB)
2.png (537.6 kB)
more ▼

asked Oct 12 '16 at 05:49 PM in Using UE4

avatar image

Macchelo
1 2 3 5

avatar image AndrewHurley Oct 12 '16 at 07:04 PM

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.

alt text

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,

Andrew Hurley

avatar image Macchelo Oct 12 '16 at 07:11 PM

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.

avatar image AndrewHurley Oct 12 '16 at 07:38 PM

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.

avatar image Macchelo Oct 12 '16 at 08:31 PM

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

avatar image Macchelo Oct 12 '16 at 08:31 PM

alt text

1.png (797.6 kB)
avatar image PatsuKiki Oct 17 '16 at 09:07 PM

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

avatar image AndrewHurley Oct 17 '16 at 09:12 PM

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,

Andrew Hurley

avatar image PatsuKiki Oct 17 '16 at 09:20 PM

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

avatar image PatsuKiki Oct 17 '16 at 09:15 PM

alt text

avatar image PatsuKiki Oct 17 '16 at 09:15 PM

alt text

avatar image AndrewHurley Oct 17 '16 at 09:21 PM

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

avatar image PatsuKiki Oct 17 '16 at 09:27 PM

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. :(

avatar image Macchelo Oct 17 '16 at 10:21 PM

That's the bug that was mentioned in this tread

avatar image PatsuKiki Oct 18 '16 at 05:18 PM

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

avatar image AndrewHurley Oct 18 '16 at 06:46 PM

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,

Andrew Hurley

avatar image Zipperedcometx Jul 20 '17 at 06:49 PM

Hi, I'm having the same problems tried the fix not working at the moment any advice alt text

issues 2.jpg (433.1 kB)
issuse.jpg (293.4 kB)
avatar image PatsuKiki Oct 18 '16 at 07:20 PM

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

avatar image AndrewHurley Oct 18 '16 at 08:37 PM

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,

Andrew Hurley

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

2 answers: sort voted first

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.

more ▼

answered Oct 13 '16 at 08:17 AM

avatar image Macchelo Oct 13 '16 at 10:04 AM

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

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

Hi guys! I was having the same problem. As Andrew pointed out its due to the initial weight values inside the Layer Blend nodes. So after you set these initial weights for all layers in the node then in the paint tool(In modes window) you have to click on the "+" sign for each layers and save the info to any content folder. These steps worked for me. I am attaching the step image in documentation.alt text

more ▼

answered Nov 10 '18 at 02:01 PM

avatar image

REDVIL44
1 1 2

(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