Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Import RAW Rectangular Terrain Heightmap

Discussion in 'Editor & General Support' started by WatchYourVector, Jan 15, 2016.

  1. WatchYourVector

    WatchYourVector

    Joined:
    Jun 17, 2013
    Posts:
    24
    I am trying to import a terrain heightmap, that is of rectangular dimensions. It seems, however, that the required sizes of imported heightmaps need to be of square dimensions. For example, 2049x2049. As a result, what happens in this case, is that the terrain imports, but it has a flat surplus area to fill out the 'rest of the square'.

    Is there any way to 'slice off' the extra terrain after importing, when importing a rectangular raw image? Better yet, is there a way to just make it accept non-square dimensions from the start? Do I need a script to make this happen?

    Thanks!
     
  2. sasantv

    sasantv

    Joined:
    Jul 20, 2016
    Posts:
    7
    Did you find an answer? I am trying to do the same thing, and no luck so far.