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 turns gray at fourth layer

I'm using 4.5.1, and I can't properly paint a landscape with five material layers. When I add the fourth layer to some block, it turns gray, and doesn't show up in colored material even after I wait for shaders to compile. Also, running the game in standalone still shows it in gray (SM 5.0)

alt text

alt text

Product Version: Not Selected
more ▼

asked Oct 25 '14 at 11:00 PM in Bug Reports

avatar image

1.3k 48 41 88

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

2 answers: sort voted first

Set all your landscape texture samples to "Shared: Wrap". That limits you to PC DirectX platforms only for now though, but it allows you to use 128 textures in the landscape material.

more ▼

answered May 04 '15 at 04:31 PM

avatar image

126 12 19 26

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

Hi jwatte,

How many textures are you using across these four layers? If you have more than 10 textures assigned to that section (including bump maps, normal maps, textures, etc) it will not correctly render. This is a limitation we are aware of and are looking into options to increase this limit.

more ▼

answered Oct 27 '14 at 03:29 PM

avatar image jwatte Oct 27 '14 at 03:32 PM

I did some more research, and I think you're right -- the problem is two-fold: 1) Unreal Engine wants landscape texturing to be single-pass 2) The Landscape module forces all texturing into the SM3 limitations

If the Landscape were to do splatting (slicing either by render-target, or by source-setup) then a very large number of layers could be supported, with variable performance based on complexity and shader model.

If the engine allowed me to say "only SM5 cards and up are allowed" then I could also cram all I needed into a single shader. But I would prefer a solid splatting-based approach :-)

(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