I'm trying to paint a grass onto a large terrain and I want it to cover the entire terrain. Since the brush size can't go past 100 it would seem that I'm stuck painting the entire thing with a small brush relative to the terrain size.

How can I more efficiently paint grass onto a large terrain object?

  • 1
    \$\begingroup\$ No way, just paint sadly \$\endgroup\$ – Ahkam Nihardeen Jan 6 '15 at 10:18

You can absolutely "paint" a texture programmatically onto the Alphamaps of the terrain. Take a look at the TerrainData component and the Alphamaps methods / properties


Things to know going in:

With this info one could presumably blanket the whole terrain with one texture at run time... Or if clever enough / build a Custom Editor script with a button to call a method that does this before compile time. That way you could save that terrain as a prefab / save the scene and not have to rely on spending runtime resources to do something trivial... or really whatever your little pixelated hearts desire


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.