Landscape Material - Mobile - Wont Render

No matter what iv’e done to this project following the links provided below - i cannot get landscape material to render on mobile. it renders black in 4.14 ES2, and will fail every time if i try to set it to ES3 support. I’ve tried this in 4.14 & 4.13 as well 4.12… engine version is NOT the case here.

My material is simple… LandscapeCoordinates → Texture file (currenltly 6 total… 3/3 color/normal) → Material
I have metallic/rough set with scalars @ 0/.7

Directional light set to Static (have tried stationary & dynamic).

I cannot get this to display on my phone when packaged + pushed to phone via .bat file for android build (have tried Android All, ATC, ETC1).

ATTEMPTS:
https://docs.unrealengine.com/latest/INT/Search/index.html?q=mobile+landscape&x=0&y=0

SCREENSHOTS:
Android Build Settings:
http://puu.sh/t9okr/43723d25fc.png

Editor-Rendering:
http://puu.sh/t9olN/41cea61101.png

all help is greatly appreciated as this is VERY time consuming and not very well explained ANYWHERE (i’ll work with UE4 support staff to produce documentation if thats the case to get this SPELLED OUT IN DETAIL for UE4 docs).

Thanks!

Landscape Materials Shader setup:
http://puu.sh/t9pvc/3ca9ed7e63.jpg

Hello walldiv,

You are running into the current mobile texture limitation for ES2 which is outlined in our documentation page, Materials for Mobile Platforms.

“You are only allowed to use 5 texture samplers due to hardware limitations.”

Therefore you need to remove one of your layers, or consolidate in a way that you are only utilizing 5 texture samples. Feature Level ES 3.1 exists to target high-end mobile devices (such as Metal-compatible devices). This gives access to up to 16 total samplers to be used in Materials. You need to make sure your device is ES 3.1 compatible first, before attempting to work within those limitations.

Let me know if you have additional questions.

Thank you,

This isnt the answer - as you can see from the below screenshots. First - its setup for ES2 because trying to package as ES3 fails EVERY TIME… (another topic for another day). You can see from the material creation, i’m sitting right at 3/8 texture samples - and just for my own curious mind… why does the editor say 8 but your guys documentation online says 5 for max texture samples on mobile? Lastly - heres the screenshot from my phone, as well it has the same effect on a galaxy S6. What am I doing wrong?

SHADER:
http://puu.sh/t9WMt/a2d12c6605.jpg

FROM PHONE SCREENSHOT:

With lighting built - PROGRESS@!!!
Whats these white lines all about?

Have you attempted to paint on your landscape, or fill the landscape with any particular layer? It is expected to render black until you assign a material layer to anyone of the components.

Fill Layer

Also, you have to keep in mind the size of those textures. If they exceed 2048 in any direction, they will not render correctly. Be sure you have assigned a Mapping Scale to your Landscape Coordinates node as well.

Landscape Coords

If you can walk me through the process you are following, then maybe I can get to the point where you are experiencing the issue. Let me know if you have further questions.

H

Take a look at the last post i did… i got it to render out now with the materials - but i’m getting hard white lines at the borders of the landscape sections… the texture sizes are only 1k square, mapping scale was default (which i believe is set to 0… let me change that, repackage and re-test)

Changed the LandscapeLayerCoordinates node to have 1 for the mapping… still have the white thick lines at landscape section boundaries.

I have unchecked “Static Shadows” from the landscape, built lighting and all the time i’ve had a LightmassImportanceVolume in the scene surrounding the landscape. My directional light is set to STATIC. Still the white lines :frowning:

We can continue this conversation on the new post you created below.