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 shaders not compiling

In my project I have a landscape material and it compiles the shaders unless there are many mixed layers, In which case the shaders don't compile.
The video has a better explanation.


replacing the landscape material them placing it back does not fix it.
I can replicate it in 4.6 in multiple levels with different Landscapes
It seems to happen when all of the layers are intersecting.

Product Version: Not Selected
more ▼

asked Feb 25 '15 at 07:28 AM in Rendering

avatar image

161 19 18 118

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

2 answers: sort voted first

Hi AlphaSierra216,

I took a look at your video and was sorely disappointed not to see any puppies or kittens.

Anyway, the problem is that your material is running out of texture unique samplers in the area where all layers are used. Samplers are a limited hardware resource and the limit is 16, and the engine needs a couple for internal purposes such as lighting and weight blending.

The good news is that from 4.6 we have the ability to share them, so you just need to change the SamplerSource for your all your TextureSample nodes to "Shared: Wrap" and the problem will go away.

Cheers Jack

more ▼

answered Feb 25 '15 at 07:23 PM

avatar image

1.3k 37 11 47

avatar image AlphaSierra216 Feb 25 '15 at 10:27 PM

100% worked. Thanks!!

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

thk, Work for me !

more ▼

answered Aug 17 '16 at 01:41 AM

avatar image

1 1 3

(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