Mixing two textures

Hey, trying to mix two textures together so i can texture paint the layer below as a path for walking or whatever but not sure how to set it up


this is what i have done but it’s not working and i guess i was trying to simplify it to much haha, anyone knows how this should be? how i am supposed to make two textures mixed in so i can texture paint it on areas to my own liking

Right off the bat, I can see that you have Red lines- this means that data is not flowing along that wire. In this case, to fix it, put a Shader to RGB node on each of those Red wires :slight_smile:

Generally, you don’t need 2 shaders to do this, you can very easily mix textures with just one (which will save you computation and render time):


This setup lets you use two image textures and a mask to blend between them. The mask image is the top one- you’ll want this to be black and white.

In your case, you are mixing different shaders, which is totally fine. You just need Shader to RGB nodes, or you can use the Mix Shader node instead of the Mix RGB node :slight_smile:

2 Likes

Alright, i did this what you had PrintScreen of to begin with
but when i enter Texture Paint nothing is happening when i am painting?

am i supose to click another button or something to make it re-render afther i painted?

Go to the Texture Slots menu and check that you’re painting on the masking image :slight_smile:

1 Like


its under masked?

oh, now it works but not in real time?
i have to go in and out of texture paint to see the result?!

Is there a way to make it work in real time?

It should work in real-time :thinking: are you using Eevee or Cycles?

1 Like

Forget it in Evee viewport it works in real time! :smiley:

1 Like

Thank you so much for taking the time to help me out! :smiley: your a saint!

2 Likes

Awesome, you had me confused for a second there, I was racking my brain thinking “why wouldn’t it be real-time?” :sweat_smile: glad it worked! good luck!

2 Likes

hahaha my bad, just me replying too fast before i tried to troubleshoot it my self,
Getting too eager haha xD

If you plan on doing a lot of texture painting, esp if it involves masking off multiple materials, you might want to check out the add-on “PBR Painter”.
also here’s a free material I just made if anyone wants a concrete material that isn’t totally boring…:
https://drive.google.com/file/d/1c4qC-tq4bBcVouW4xADGCnvsEnfUkMU7/view?usp=sharing

1 Like

Awesome, thanks for leting me know!
And thanks for the free material as well :partying_face::partying_face: