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"

Landscape material turns default gray while painting

I would like to know if there is any solution for the landscape painting issue I am getting. I am using 7 material layers for my landscape. as soon as I start painting on the 5th layer, the whole area appears as default gray patch/ square. I read through all the previous posts regarding the same in the forum. But didnt get any solution for it. I am using the latest version of Unreal with all latest updates. Please help....

Thanks Sourav

Product Version: UE 4.9
more ▼

asked Oct 03 '15 at 06:02 AM in Bug Reports

avatar image

6 1 1 3

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

3 answers: sort voted first

Hello SouravSagar,

While Bajee explained the issue and has correctly identified where the problem lies, that solution is not the only one. We typically recommend you user no more than five for individual texture samples. However what you can do is change your individual texture samples into wrapped one.

Steps to Fix :

  1. Go to your textures in your Landscape Blend Material

  2. Click on on of your textures

  3. Change your Sampler Source to Shared: Wrap

  4. Do this for all of your textures.

alt text

This is how many I have set up with the blend using this setup.

alt text

This system shares the sample space instead of sampling every texture individually. This allows for a greater amount of sampling and textures to be calculated. I wouldn't get too crazy like 20 textures but this should work for 7.


more ▼

answered Oct 05 '15 at 01:50 PM

avatar image Sentura Aug 22 '16 at 10:46 AM

Would this also work for ~10ish textures + a few landscape visibility masks? I can't seem to get it to work with that.

avatar image Adam Davis STAFF Sep 06 '16 at 02:58 PM

Hi Sentura,

Technically, this should work with up to 128 textures within a single material if all of the texture nodes have had "Shared: Wrap" enabled. I tested this on my end and had 16 textures in 16 layers, all of which rendered on a single component without any noticable errors:

alt text

What setup are you using for your landscape material? I might be able to see what is causing the error on your end.

components.png (690.9 kB)
avatar image SSkipper Dec 09 '17 at 11:51 AM

This worked out splendidly. You can even take the higher level of details and just create a seperate layer blend for them. As long as you connect everything to the right spots and keep your Albedo's as "Shared Wrapped," like the man suggests, your landscape should not have overlap issues. I could kiss you friend, thank you!

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

From the landscape documentation:

Another issue to watch out for when painting layers is to avoid having too many textures on one component. The material editor stats show the limit of how many texture samples you are allowed to use, but for Landscape materials the masks for each layer count as texture samples too and do not show in the stats. If a component starts showing the default texture (Grey Squares) when you paint a new layer onto it, it is likely that it is gone over the texture sample limit and either needs to have a layer erased or the material needs to be optimized to use less textures.

more ▼

answered Oct 05 '15 at 11:55 AM

avatar image

290 20 32 137

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

Thanks a lot Logan Bailey, its working fine now.

Cheers Sourav

more ▼

answered Oct 08 '15 at 05:35 AM

avatar image

6 1 1 3

avatar image Logan Bailey ♦♦ STAFF Oct 08 '15 at 01:03 PM

Glad it worked. If you would accept my answer so others will know how to resolve this issue.



avatar image DanteStormdark Aug 12 '16 at 02:46 AM

If in landscape you have a 10 textures and 10 normal textures and 10 specular textures, you need do this for normal and specular too?

(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