Heightmap RAW importing?

Hey All!

I’ve imported a height map from photoshop into unity however the map is reversed and upside down…how do I correct this?

ISSUE:

There is a lake on the right side of my map and a river on the left side of the map, after imported however the lake is now on the left and the river is now on the right…

I thought maybe it was the b/w levels of the map, but if that were the case the map would just be incorrectly sized up or down, but not left/right and upside down…would it?

nvm, when in doubt just reverse the native file instead…

Prolly not the proper way of fixing this but it works and that’s all that matters.

For some reason, this is the way Unity imports the files, always been like this.

mirror the file in Photoshop.

Thanks :slight_smile: That’s pretty much what I did…seems to be working great now.

I ran into another problem after this though, maybe you know how to solve this too? I have to lower my terrain res. to about 15 to it matches what it was before converted over into unity (as in making it match up to my 3ds max version)…but now I want to add a few hills to the map and it won’t allow me to increase terrain height past 15…

Thus I have a very large plateau of an island

…still no luck with this, i’ve tried putting another terrain below the original island and just pulling mountains through, which does work and if enough time is spent looks perfectly fine, HOWEVER this increases my draw calls in areas that can be avoided if I didnt have to do it this way…

Any ideas??

Not sure because you don’t post many details, but are you aware that the heightmap has a 0-1 range internally? There is a max height that you can not go past. If your imported file already covers the entire range, you won’t be able to add mountains higher than the highest feature you already have.

Solution: Edit the .raw file in Photoshop, reduce the output level, re-import.