Strange texture mapping with 360 degrees UV map with PBR

Hi guys :smiley: ,

Greetings everyone!

I have some meshes that have a 360 degrees UV mapping using a Seam to unwrap the UV, as you can see in this image:

Using non-PBR materials, I used this technique without problems (Playground here: https://www.babylonjs-playground.com/#1RH8GD#2).

But using PBR, and using the exact same object, this happens in the UV seam:

image

This problem happens with all meshes that use a 360 degree UV map separated by a seam. I tried to create a Playground for PBR version too but for some reason, it is not loading the albedoTexture (https://www.babylonjs-playground.com/#1RH8GD#3).

Does anyone here know what is happening?

Thanks for helping!

Hi TiagoSilvaPereira,

I tried tweaking your code to set the baseTexture instead of an albedo texture. Is this closer to the effect you’re expecting? If so, does the seam problem still repro for you? (I don’t see it, but I might be looking in the wrong place.)

https://www.babylonjs-playground.com/#1RH8GD#4

1 Like

Hi @syntheticmagus I think it may have been fixed in the last version… I checked here and I’m using an older version in that application. I changed in the playground to 4.0.3 and the issue appeared. With the latest version, it is really not happening!

Thank you very much!! :smiley: