Fifth Landscape texture not working

When I try using a fifth Texture in the landscape material it breaks, this dose’t happen when using one of the other textures already in use.

This is when using a texture.


And this is when using a vector3 for colour and constants for roughness, normal etc.


This happens when painting the material as well it is not the splines fault.


It is 15th , if you use diffuse, normal and some composite one. That are 3 textures per layer.

I think limit of textures is 16. You need to use texture atlas (pack 4 textures in single bigger 2x2 one, then pan UVs in material to use correct one).

Or use virtual texture (however i am not sure if that solves limitation of 16).

The limit on number of textures used by a material depends on the shading model you’re using (the capabilities of your graphics card.)

To be fully compatible with the lowest-end supported graphics cards, you typically have to limit the number of layers per component to three.