Texturing a Mesh terrain

Hi everybody :slight_smile:

I’m doing a Top down game , and I’m trying to find a solution for how texturing my Mesh terrain.
I can’t use the unity terrain system because i’m trying to make something like this:

Like in the example above, there is no fading between the grass and the dirt texture.
And after have tried the Unity terrain, I can’t see a solution to do it with it …

I know I can do that in a 3D software , texturing like I want and bake the texture , but I imagine the size of a texture for a 150*150 units terrain, I don’t think that is possible to handle this with a good resolution u.u…

My second idea was to cut my terrain to have multiple part, and texturing each independently, but i’m facing to some edge flickering where the mesh are cut , and also , the resolution is not exactly the same because i’ts impossible to cut these part with the exact same surface for the texture bake…

And unfortunatly , I have no more idea for how to do this …

maybe there is a assets that can texturing mesh ? With layer to add texture like dirt , path , and other ? Without fading and with no tiled texture ?

So if someone can explain me , or just link me some info , i’ll really appreciate :smile:

Have a nice day :)!

Small up :smile:

look for splat map shaders:
i think mega splat/micro splat supports meshes too (its the best available)

here’s also simple test splat shader (doesnt allow too many textures,
see comments section for the project source and other similar shaders)

1 Like

@mgear

Thanks for the links ! I will check all of that tonight :smile: !