Assign a Random Points operator on the mountain
Select the node plane and create a
Random Points modifier
) and set it like that:
Assign a Sprite Points renderer on the mountain’s geometry
Create a Sprite Points
)and set it up like showed below.
Import the sprite texture
Now you can drag and drop the
inside of the Sprite Points renderer and delete
Dot White a.png
Enable the depth Sorted parameter on the sprite point renderer.
You should have something like this:
Assign a Point Scale attribute on the mountain vertex to modify it's sprites
I now add a Point Scale modifier on the 3D Layer Plane (
This attribute will apply on the vertex only so on the generated particles on the plane (in this case, the trees), not shape of the plane. I set it to 0,0,0.
Drag and drop the
over the Point Scale modifier and set it up like showed below (in advanced parameters mode again)
Now the Point Scale
modifier is set up to mask every sprite on the heights of the mountain, according to the black and white values of the displacement map, you can trick it as you want.
If you want to go further in the customisation of the map, select the shared Smode_Heightmap.png and turn it into a composition (Ctrl+Shift+C) (don’t forget to put the compo into 16 bits) and add layers or change them.Next: procedural-terrain - Conclusion