UV Wrapped Cube Artifacts


I have this cube UV wrapped and can’t figure out how to get rid of the artifacts on the edges of the cube.

Welcome aboard!

That’s hard to say with a screenshot, it could be a problem with the geometry or the texturing (uv / sampling mode).

Are you able to setup a repro in the Playground (https://playground.babylonjs.com/)?

Here you go

You have to offset your texture coordinates by half a texel size to make sure the rendering is correct:

1 Like