Paint terrain based on normal

So, I have a terrain and two textures: Grass and dirt.
I want to make so the hilly parts have dirt and the flat ones grass, but doing manually is painfull.
There is a way to paint the terrain based on the normal?

Install “Terrain Tools” from your package manager.

1 Like

What offers?

EDIT: Just saw that it has what I need, thanks for the reply!