Flip texture on plane with shared material

Is there an easy way to flip a texture on a plane that is using the same material as other planes in the scene? If I for example try to use uScale = -1 the desired effect is achieved, however other planes that use the same material also have their texture flipped, which is not what I want to have happen.

I’m only using simple planes for my use case, but some will share the same texture. It’s probably a bad idea to create a new identical texture for each of them.

See PG: https://playground.babylonjs.com/#Q9VZS9#1807

So, how can I make only the first plane have a flipped texture?

You can flip the UVs of the plane2. In this example, I added in the UV adjustments. plane does not need to have the UVs defined, I just included as an illustration of the NORMAL layout of the UVs. On plane2, I just swapped the positions of the UVs, making the left side on the right and vice versa.

I forgot to set the uScale of the texture back to 1.

1 Like

Thanks! That’s exactly what I was looking for.