Artefact at cube edge with low resolution texture

I’m encountering an issue with artefacts at the edge of a cube with an 8x8 texture.

See (the right hand edge is the worst)

Perhaps related, when I use the default sampling mode, a yellow line appears where there are no yellow pixels (though I only care about getting it working with NEAREST_SAMPLINGMODE)


I’ve ruled out a GPU problem as several users tested this on varying different devices and also found the artefact

Does anyone have any thoughts on how to fix this, or if this could be a babylon bug?

This happens cause your UVs are trying to wrap around at the edge. you could try to clamp instead ?


Ah I see - I do need the UVs to wrap, bringing them in a small amount has fixed the problem


1 Like