- Home /
 
Heightmap to LowPolyTerrain
Hello, im searching for an idea or a script that turns a Heightmap (or Terrain) into a Low Poly terrains, i found some in the assets store but they are like $30+ so i just ask here. it would be awesome if someone has a example project of low poly stuff, would be highly appreciated.
Thx!
It's not too hard :)
posting all the required scripts would be a little much, though. Take a look at the $$anonymous$$esh class and the Texture2D.GetPixel function. With this information, you should be able to:
Go through each pixel of a bitmap
build a terrain mesh of quads, where the y position of each vertex is deter$$anonymous$$ed by the color of the greyscale bitmap.
Answer by ml4c · Jul 18, 2016 at 06:30 PM
Well you could first create a mesh with your Heightmap as discussed in the following question:
Heightmap to mesh 
And after that you can convert the mesh to another mesh without any shared vertices with an edtior script as it was posted here:
No shared vertices editor script 
Thats it. You now have a Low Poly Terrain out of a heigtmap.
Your answer
 
             Follow this Question
Related Questions
Low Poly Art 0 Answers
Running unity on low graphics 1 Answer
Strange Unity GI issue 0 Answers
combining two shaders? 0 Answers
Flat shading 4 Answers