Hello. Anyone know how from Krita can I export heightmap so it could be used with Unity’s terrain? For example I’ve made this with Krita, now I want to use it as a heightmap:
How do I do it?
Hello. Anyone know how from Krita can I export heightmap so it could be used with Unity’s terrain? For example I’ve made this with Krita, now I want to use it as a heightmap:
How do I do it?
Not sure if the external software matters - as long as it outputs the correct format, and I have only passing experience, but I thought the proper termonology for use in Unity was splat maps.
But I must have been mistaken because – here is a link to using height maps.
http://unity3d.com/learn/tutorials/modules/intermediate/live-training-archive/introduction-to-heightmaps
The heightmap is what determines the heights of the terrain at given points. The splatmap is what determines what textures are blended at what amounts at any given spot. I’m not sure on Unity’s internals, but it is like have red equal grass, blue equal sand, and the splatmap has either of those two colors(or a blend of them). Then the shader draws the texture accordingly. Of course, you can have more than just 2 textures, but that is the idea.
As far as creation of the height map, I think it is just a matter of correct size and export. The size needs to be square of 2 + 1. So it would be 65, 129, 257, etc… It is weird, but it has to do with the algorthm Unity uses to control and render the terrain.
Thats right - thanks for clearing ‘my’ fog.
Adam was talking about spat maps at the end of the video, an it just stuck in my head.