I am new to using Unreal 4 so I apologize if I am asking stupid questions.
I have blended two materials so I can paint my 15 x 15 landscape but every time I go to paint the second mud layer on top of the grass, the edges don’t blend properly and I keep getting shiny spots. Does anyone know what the issue is and how to rectify it?
I’ve put two screenshots below which shows my landscapes the material nodes I used to set up the master material
(1) Did you check that your diffuse textures (the two textures above the normal maps) have an alpha channel?
(2) Normal maps don’t have an alpha channel, so using the alpha channel there won’t give you meaningful results (generally you would use the alpha from the two diffuse textures above)
(3) Where you blend the roughness you would also need an height input, else it will use a fixed value and since you use a height input for base color and normal map, it might look odd (again alpha from the diffuse textures)
Hmmm, not quite sure I understand what you mean. The height input is independent from the layer input. It only specifies how to blend between the layers. So for one layer you should generally use the same height input in every landscape layer blend node, unless you intentionally want to blend them differently.
You don’t need the textures if you’re fine only using values, other than that as Chrudimer said : your blending method needs to be consistent between all of your texture inputs
Also, normal maps don’t have alpha channel and adding one would prevent then from using the normalmap compression format from UE. Which you really want to keep unless you know what you’re dealing with.
You can add your heightmaps inside the alpha channel of each of your diffuse texture if it’s not the case already, or have them as separate textures but it would cost you 2 extra textures
Based on your screenshot, your issue might comes from the normal and roughness. You’re not blending the roughness the same way you blend the diffuse and the normal map are most certainly not using any heightmap info to blend
I would disable the roughness blend altogether. but if you want to use it definitely either feed in the same height-maps or switch to alpha blend.
Also feed the same alpha from the initial textures into the Normal map - the height blend is supposed to be the same.
You can change to using only 1 node by creating attributes with Make Material Attributes, which may be a little easier to “picture”.
You create the “layer”, then feed it into the blend - using the texture’s alpha.
It should also theoretically be “easier” on performance.