- Home /
How does "Procedural Terrain Splatmapping" script works?
Hi, well I want to know how this script works: http://alastaira.wordpress.com/2013/11/14/procedural-terrain-splatmapping
I don't know how can I put the three textures that the author says... So, what can I do, or what do you recommend you to me?
Thanks in advance.
Bye.
Answer by tanoshimi · Jul 19, 2014 at 06:45 AM
My script creates the splatmap that Unity uses to blend the terrain textures together - you assign the textures to the terrain via the inspector in the normal way:
Answer by Polemus · May 29, 2017 at 06:57 PM
Hi There,
Have a look at this script i created. TettainSplat.cs
All you have to do, is add the script to the TerrainObject, and set your textures and its properties.
I made sure to document it well for you, so it should help out a bit when you want to alter it.
the script allows for:
Slope / Angle
Height
Height Range
Direction
You can add as many textures as you want... take note.. the more textures you add, the slower it will render eventually.
Your answer
