Is it possible to paint landscape layers from code or blueprints?
Is it possible to procedurally paint landscape layers from code or blueprints (or even from within the material)? I do not mean creating a multi-layered material using MatLayerBlend functions, but rather to actually paint the landscape layers?
This would be useful if I want to have different hardness outputs (which affect erosion calculations, no?) based on a procedural test, for better erosion simulation.
asked Sep 28 '16 at 12:17 AM in Rendering
It's not possible to procedurally paint landscape from blueprints, but it is possible from C++, although advanced, and only from editor code (not during game, I'm afraid). There are various classes which can edit the landscape, including FLandscapeEditDataInterface.
Alternatively you can pre-generate your layers and then import them into the landscape by right-clicking on layers and choosing "import".
And yes, "hardness" from the layer info affects erosion, I apologise for the lack of documentation on this.
answered Sep 28 '16 at 08:25 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here