Model loading · const

IMPOSTOR_GUTTER

Texels of edge repeat around every tile.

Explained in Importing models.

const IMPOSTOR_GUTTER = 2
import { IMPOSTOR_GUTTER } from '@driftengine/assets';

In depth

Two, not one: a bilinear tap needs one, and a mip of the atlas needs the second. One gutter is the version that looks right until somebody enables mipping on the atlas, which is exactly when the object is far enough away for an impostor to be in use.