Maya Layered Shader to Unity

Hi all!

I’m creating a terrain in Maya using the Layered Shader. I want to export this file to Unity, but can’t figure out how can I make it work.

I know Unity has its own Terrain feature, but I don’t want to use this.

Is there a way of having multiple textures on a mesh and have it custom painted (even better if it is done within Unity).

I know this questions has been asked somewhere before, but none of the answers were useful to me… so I thought about asking again :stuck_out_tongue:

Many thanks!

Nick

Shaders can sample multiple textures. You can write a surface shader that uses one or more mixing masks (RGBA textures representing texture weights) to blend four or more textures together. This is how the built-in terrain shaders work.

Drawing directly onto a model in Unity is something you’d have to implement yourself if you don’t want to use the terrain engine.

Thanks Daniel for your reply. I think I’ve found a tool for this: Vertex Painter looks as it can handle Texture painting on meshes which is just what I need. No need for me to script :wink: