How to remove edge border on box babylon js

When connecting cubes with textures, some kind of strip will appear, which spoils the appearance. How can I remove it?

Hi. you can try to clamp the texture, line 21-22

Hello! Could you post an example when using two textures?

Please provide a repro in the playground so we can best help.

I’ve faced similar issues with textures in Babylon.js. I found that using the right texture wrapping mode helps a lot. If you’re combining two textures, ensure both are set to clamp mode. It really reduces those unwanted borders. If you can share your code or an example in the playground, I’d be happy to take a look and help further.

1 Like