How do I add texture 4?
has only 3 RGB.
UPBGE 2.5
NodesBase.blend (4.5 MB)
Use the A (alpha) channel.
I didn’t understand. Do you have an .blend pls
Just add a new UV map to your object, add a texture node in the node editor and connect it through a color mix with a node going to the color of the material node and you can even use textures of other objects in this way - just for each UV map in the node editor, create a geometry node and specify in it which texture each map uses
This is my setup of nodes and UV maps to overlay multiple textures on one object - but keep in mind to edit textures overlaid on top of other textures, you need to switch UV maps
I already did that, take a look at the texture being placed on top of the other
NodesBase.blend (3.5 MB)
You need to use color ramp to blend edges on the texture border by connecting color ramp to the value of mixing nodes of the color node to avoid sharp transitions
this is my fragment shader for mixing textures for planets depending on the height of the terrain - textures are mixed through a color ramp - the ramp type is linear - the ramp gives the dissolution of one texture into another without a sharp edge, you can also additionally draw procedural textures through the ramp - perlin noise, or multifractal noise - this will not give uniform mixing and random transitions will appear on your edges, which looks more natural than direct transitions - but procedural textures with such mixing use a lot of processor memory and you need to turn them off through the camera node - so that mixing through procedural noise is not all over the object, which is expensive, but only in the camera area