- Home /
Blend materials in different submeshes
So I have a mesh with different regions as submeshes, that I apply materials to. However the materials don't blend nicely because each submesh is divided by triangles from the others.
I most likely have to use some sort of shader, as I don't think it's possible to fix that any other way. So my question is how do I control the blending between materials with a shader?
$$anonymous$$ay I ask why you use submeshes if you want all triangles to blend them? After all, that's the reason behind using submeshes in the first place; to make one mesh have multiple materials. Wouldn't it be better to have one mesh and use or write a shader that blends the textures and whatnot the way you want?
Yeah that'd make sense if you wanted a few textures, but I'm using more than 16 so the only way to do it is with submeshes and different materials. I'm just asking what would the shader include to make different materials on the submeshes look somewhat blended.
I'm not 100% sure on this but as far as I know you can't mix different materials. I have heard of splat shaders that support 256 textures so tht might worth looking into?
Your answer
