1
$\begingroup$

I'm using a linked material set to "Generated" vector mapping coordinates on multiple objects, but they are being stretched and squished differently, depending on what objects they're on (see the grungy brick walls in the attached photo)

All of the Scale and other transforms have been applied via the ctrl+A menu, so I dont know what's going on here.

ANy ideas? Thanks in advanceenter image description here

$\endgroup$
3
  • $\begingroup$ Use "Object" instead of Generated $\endgroup$
    – MikoCG
    Commented Sep 27, 2021 at 6:53
  • $\begingroup$ @MikoCG Could you be more specific? $\endgroup$ Commented Sep 27, 2021 at 20:33
  • $\begingroup$ I would rather use generated. I posted this question to figure out why its making this error. If it was working properly, the texure wouldnt be squished, right? That's the point of generated $\endgroup$
    – h_sharp327
    Commented Sep 27, 2021 at 22:29

1 Answer 1

6
$\begingroup$

Generated texture coordinate means that blender literally generates a bounding box around your object. Think of a cube that gets stretched to fully encompass your mesh. However, blender scales this bounding box the same way as it would be if you scaled a cube in object mode - it results in non-uniform scale for the "box" - this is why the sides that have to be stretched to be more "rectangular" or "elongated" cause the texture to stretch as well.

Gen

As MikoCG recommended, the best way around this is to use object coordinates. However, while generated coordinate places the X/Y origin in the "top left" corner, so to speak, you will have to use a mapping node to get your positioning right (often 0.5 or -0.5 on the X and Y location works fine) when using object. Because object doesn't generate a bounding box in the same way as generated, the textures will behave predictably in every direction.

Obj

NOTE - these images and description are a crude overview of what's really going on, however, I find it really helps to think this way when picking Texture Coordinates.

$\endgroup$
1
  • $\begingroup$ This is great, thank you! $\endgroup$
    – h_sharp327
    Commented Oct 5, 2021 at 3:20

You must log in to answer this question.

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