- Home /
Paint terrain texture with scripting
Hey Guys!
I'm trying to find out if it is possible to paint textures to the terrain within runtime. For example if i place 2 buildings in my RTS i wan't that a path between the 2 is paintet. I'm thankful for any help, because i haven't found anything yet =)
Thanks!
Answer by Eric5h5 · Jan 21, 2011 at 04:25 PM
Look in the TerrainData docs, particularly GetAlphaMaps and SetAlphaMaps.
okay thx buddy, i looked at it and a real lot of other stuff i found from google, but still can't get it to work. tried with splatmaps and stuff but i have no idea how this layers work and so on =(
Your answer
Follow this Question
Related Questions
Terrain Painting Script 0 Answers
2D Terrain 1 Answer
Dull Colors On Terrain 1 Answer
How to "paint" the terrain in a script? 1 Answer
Painting on the terrain. 2 Answers