0
$\begingroup$

I Texture a house and want to put some "Wet spots" on it. I am using 2 Shaders with a Image Textures as mask. So I have the 2 Shaders go into a mix Shader with a Image texture that goes into the FAC of the mix shader. As Image Texture I create a Textures Paint in which I use leakage textures to paint the spots.

I first did the window frames wich worked nice.

Then I did th wall but when I exist texture paint it suddenly looks way different.

Inside Texture Paint: enter image description here

Inside Layout Mode:

enter image description here

I already tried a bit of stuff because I just thaught my settings are wrong or I mixed up a textures but I cant find the error that is causing this.

I used a Concrete texture for the wall which i copied and mixed with a brick textures. The same texture I copied on my windows. My textures look like this:

Window: enter image description here

Wall: enter image description here

$\endgroup$

1 Answer 1

0
$\begingroup$

Unless you use a Texture Coordinate node to specify the Vector input of the Image Texture node then it goes with the default, usually Generated, “automatically-generated texture coordinates from the vertex positions . . . over the bounding box of the undeformed mesh”. That can change like you've shown for several reasons, one of them being applying object transforms.

For the method you're using to work consistently your mesh should have good UV mapping, and your Image Texture node's Vector input should be using the UV output of a Texture Coordinate node:

enter image description here

In the example above I've painted a tear-track on an image texture which I'm using as the Factor mask of an RGB Mix node -- because Suzanne is UV mapped, and I've used the UV output of the Texture Coordinate node in the Vector input of the Image Texture node, the tear-track is correctly positioned under Suzanne's eye.

$\endgroup$
2
  • $\begingroup$ In all honesty, I dont really understand the different Texture Coordinate different Settings but I wanted to try what you suggested. Yesterday evening I deleted all my nodes. This morning I set up everyting again and it just worked. I think I didnt UV Map my wall. I would still be happy if you could explain thedifferent use cases of different Texture Coordinates or provide a site where I can read about it. Thank you! $\endgroup$
    – patrick823
    Commented Mar 31, 2022 at 10:02
  • 1
    $\begingroup$ I'm glad it's working now, but from your question it seems that earlier this "just worked" until it didn't, that may happen again. And don't worry about understanding all the Texture Coordinate outputs, most people only use a couple of 'em. But in general it's a good idea to start with the Blender Manual: docs.blender.org/manual/en/latest/render/shader_nodes/input/… $\endgroup$
    – KickAir8p
    Commented Mar 31, 2022 at 13:47

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .