- Home /
Terrain Procedural Texturing based on height?
Before you read, please note that I DID read http://answers.unity3d.com/questions/12835/how-to-automatically-apply-different-textures-on-t.html.
Anyway, I have a procedural Texture generation system going(I.E., I am making the terrain mesh procedurally) using Unity's terrain, but I can't texture it correctly. This source gave information on how to texture, but it only throws back seemingly random blotches of texture...
Does anyone have any insight on a solution?
Thanks, Flafla2
Answer by tanoshimi · Nov 16, 2013 at 03:31 PM
Old post, but seeing as it's resurfaced: try the following: https://alastaira.wordpress.com/2013/11/14/procedural-terrain-splatmapping/
Old, but the best I've found so far. I did some reading on the topic and found solutions that suggested the use of 3rd party products. The results from those might be better, but it's not what I was after since I wanted an inline solution...and stumbled on that post (yours?) and it's exactly the lightweight solution I was thinking I would have to write. Very thankful it was posted public.
I was actually drafting a blogpost on how to do this which has now changed to simply be an URL reference to that!
Answer by Kos-Dvornik · Nov 16, 2013 at 12:23 PM
Use plugin https://doctrina-kharkov.blogspot.com/2019/02/unity-terrain-procedural-texturing.html or
You can export heightmap of your generated terrain to Geocontrol 2 and apply texture here by this tutorial http://kostiantyn-dvornik.blogspot.com/2013/11/awesome-unity-texturing-terrain-tutorial.html
Answer by killerwol · Jul 26, 2014 at 02:30 AM
also check out this asset https://www.assetstore.unity3d.com/en/#!/content/19749