- Home /
heightdata flipped on import
I'm trying to import a 2d array of floats for a heightmap stored in a binary landscape file. I can parse the file but the heightmaps end up becoming flipped and it looks upside down. Is there a way to flip these before they are assigned?
One more thing. Before I used Unity I used XNA. I would take the array and set a texture2d with the float array. It works but when doing the same way in Unity they are flipped. Can I set the depth and 8/16 bit like you can in the menu version of heightmap import?
Comment
Answer by fromtravis · Jan 11, 2021 at 10:12 PM
hi, did you find an answer for this ? I have the same problem when importing an Heightmap ( as .raw from terrain.party)