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"

AnswerHub Maintenance

Background maintenance is scheduled to occur between 9 - 11am EDT on Tuesday, May 21. Site operation may be slower than normal during this time and a brief interruption in operation may be observed

Failed to compile Landscape Material

Hi. I'm packaging my project for Android and PC and I have problems with the Landscape material. Here's what I get in the log.

MainFrameActions: Packaging (Android (ATC)): UE4Editor-Cmd: [2016.03.13-07.22.56:923][ 0]LogInit:Display: LogShaderCompilers:Warning: Failed to compile Material /Game/Environment/CityZone/Materials/MLandscapesCityZone.MLandscapesCityZone for platform GLSL_ES2, Default Material will be used in game.

Here's what the material is looking like: Material

Product Version: UE 4.11 Preview
Tags:
more ▼

asked Mar 13 '16 at 01:31 PM in Packaging & Deployment

avatar image

Alfasketer
1 1 2 2

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

1 answer: sort voted first

Hello Alfasketer,

Due to limitations of the mobile platform (ES2), you are only allowed 5 texture samples per material. However, if you are working on a high-end device that can utilize the Feature Level ES 3.1, then this material should compile without issues. This information comes directly from our materials for mobile documentation. Take a look at the link below for more information.

Materials for Mobile

https://docs.unrealengine.com/latest/INT/Platforms/Mobile/Materials/index.html

What I suggest it using the Feature Level Switch node in the material editor so the material can correctly account for the associated mobile platform, and exclude any rendering features that are not supported.

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

Cheers,

Andrew Hurley

more ▼

answered Mar 18 '16 at 03:47 PM

(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