Bilinear sample mode and mip

Yo @sebavan

Some definitions of BILINEAR SAMPLE MODE says:

TEXTURE
/** Bilinear is mag = linear and min = linear and mip = nearest */
static readonly BILINEAR_SAMPLINGMODE = 2;

But others says:

CONSTANTS
/** Bilinear is mag = linear and min = linear and no mip */
static readonly TEXTURE_BILINEAR_SAMPLINGMODE = 2;

So one says there should NO MIP and the other says it should be NEAREST MIP

Which is correct ?

The second one is correct, there’s no mip when using bilinear mode.

This PR will fix it:

2 Likes