Mapping Node + Texture Paint Mode?

Question Materials and Textures

Continuing working on my little robot personal project.
I wanted to use texture painting to make the can label look less pristine than the initial one I created is and I currently have the label material set up to use the image and then reposition it rotationally using a mapping node, so the image is lined up the way I want it to be. This looks exactly right in layout mode, in UV editing mode, and in the shader editor.

ccfd29f9ac484a11.png

But when I switch over to texture painting mode to paint on it, it’s not facing the right way?

5c826061eb3493c3.png

The vector node doesn’t seem to be applying in this mode, even though it does in every other one? Is there a way to make the mapping node work here too so I can paint in texture paint mode and have it on the right area and not showing up like the mapping node isn't there at all? Do I need to do the texture repositioning in some other way than using a mapping node?

1 love
Reply
  • Martin Bergwerf replied

    Hi Alex mksam ,

    The only way I know (to have Blender take the Texture Coordinates and Mapping Nodes into account), is to switch to Material Preview (or Rendered) Mode. Otherwise it will just display the Texture, using the UV Map (this also true in Object Mode and Edit Mode, btw.)

    Or, you can Rotate, Scale, Move the 'Vertices' on the UV Map of course.

    1 love
  • Omar Domenech replied

    You can set things up so you don't have to reposition your texture, it can rest by default where you want it to be and not depend on the nodes to move them. You can upload your file so we can take a look if you want, but be sure to include the textures so it's not all pink. 

    1 love
  • Alex S(mksam) replied

    I did just see that it does show up correctly on the model in the texture painting mode if I put it in material preview view, which is nice to see, except that when I try to actually paint on it, it shows up in the wrong place on the texture. (E.g. I paint by the eyes which should show up by the tuna name part, it shows up on the nutrition facts section).

    I've attached the files, I imagine they're full of random issues from me experimenting with various things but I hope they can be of use.

    TunaBot Files

  • Martin Bergwerf replied

    That's your Mapping Node; you paint in the right place and then you change the Location and Rotation of the UV Coordinates. The 3D Viewport shows you where the paint will end up, when you use the Mapping Node.