Blender Engine writes:
Learn how to texture paint a terrain in blender 2.8. Blender's default texture painting method is limited, because you can't combine normals, roughness, displacement,etc into a single layer of texture, and most importantly...you can't set a scale for how the texture is displayed.
By using nodes and masks, you can combine all the shades into their own texture, and you can paint with any scale you want, which is very useful if you have large terrain and want the texture to still look good even when the camera is zoomed in.
For Armory3D, use the Armory PBR node instead of the Principle BSDF node to display the normals correctly in play mode.