You're blocking ads, which pay for BlenderNation. Read about other ways to support us.

Baking RAW Heightmaps for Unity Terrain


Mezaka writes:

Hello Blenderheads and Gamedevs!

A while ago I developed a small script that exports .RAW images in the right format to be used as Heightmaps in Unity. Even though Unitys tools for making Terrain have been getting better recently, this still seems like a highly relevant issue, since Blender offers some great tools for more nondestructive workflows. So better late than never: Give it a try!

For newer Unity versions make sure to follow these steps:

  1. Set the Heightmap Resolution in Unity to 1025 (or similar power of 2 + 1)
  2. Click Import RAW
  3. Select the file
  4. Set Settings:
    -16 Bit Depth
    -Resolution 1025 (or similar)
    -Byte Size Order Windows
    -Terrain Size 1000x500x1000 (or similar - see video for instructions)
  5. Click Import

Download the Script + Example Blendfile here.

About Author

Lars Hinnerk Grevsmühl

Hey! I started out making Lowpoly Tutorials on Youtube and then gradually moved towards being a full time game developer. If you want to reach out use Twitter, its the place where I am most active.

Leave A Reply

To add a profile picture to your message, register your email address with To protect your email address, create an account on BlenderNation and log in when posting a message.