- Home /
What steps do I take to import a simple heightmap from mspaint into Unity?
I would like to import a simple black and white drawing made in mspaint as a heightmap for a terrain object.
I tried several times and to convert the heightmap from bmp or png to raw using imagemagick and different command options but I never got the results I expected.
Please tell me the steps I need to take to convert an image generated in mspaint into a format where I can use it as a heightmap in Unity. I do not have access to photoshop, only free tools.
After some more digging I found the answer here: http://answers.unity3d.com/questions/187059/convert-rgb-heightmap-to-greyscale.html?viewedQuestions=7652&viewedQuestions=8574
use this tool: http://www.dubaron.com/terrainconvert/ to convert non-photoshop formats to .raw for import into Unity
Your answer
![](https://koobas.hobune.stream/wayback/20220613113512im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Modifying an heightmap at runtime 2 Answers
How to get heightmap of unity terrain ? 1 Answer
Height map issues 3 Answers
Gradual Terrain Smoothing from a Flat Area (at Runtime) 0 Answers
Importing non-traditional 512x512,1024 x1024 Height Maps 0 Answers