- Home /
Terrain editor - painting textures on walls/cliffs orientation
This is a random question, but... I noticed in the terrain editor that if you use the set height tool to create canyons, the texture that is placed on the canyon wall will look mega distorted because it is oriented to the ground and not the canyon wall you created.
Is there any way to paint textures oriented to the canyon walls you create with the terrain editor, rather than the ground?
Answer by Shawn · Feb 22, 2010 at 06:57 PM
The problem is that the textures can only be mapped based on the vertices, for the steep cliff faces this causes the vertices to be stretched which makes the textures on them to be stretched. I know 1 common solution for this is to actually create models which you use in conjunction with the terrain for the cliffs, this way you can control mapping better and in general make nicer looking cliff faces.
Would like to preface this answer with the fact that I have only used the actual Unity terrain system briefly since I mainly work in Unity iPhone which does not yet support terrains; but this is based on my general knowledge and experience with terrain engines.
Answer by ravingbots · Sep 03, 2015 at 01:28 AM
You may consider using a shader that solves the problem of distorted textures on walls/cliffs of Unity terrain:
the shader: https://www.assetstore.unity3d.com/en/#!/content/44225
a tutorial: http://ravingbots.com/2015/09/02/how-to-improve-unity-terrain-texturing/
However, it tequires a shader model 3.0 (which is unavailable on mobile platforms).
Some free keys:
ASV-C9U3-UE39-UUJ7-DRPX-WN3C ASV-VA79-FEH3-H$$anonymous$$YD-4ECU-DD$$anonymous$$N ASV-G7XN-47LT-XQ9Q-4YPX-6E6R
Answer by nirharpaz · Jun 03, 2014 at 08:54 PM
I tried to use an imported model but then, since its now aterrain, when i wanted to put trees in it became quite a task! (cause its not a terrain) is there a way to convert a model to a terrain? cover the model with a terrain or any other solution? thanks
http://wiki.unity3d.com/index.php?title=Object2Terrain
You can add a script into your asset>Editor folder to create a terrain according to your mesh.
Your answer
Follow this Question
Related Questions
How can I delete grass texture from Terrain 2 Answers
navmesh cost for diffrent terrain texture 1 Answer
Messed up terrain texture on Android 5 device 0 Answers
How to use detailed texture? 2 Answers