model: use linear filtering by default
parent
bdf184c2da
commit
083174e68c
|
@ -373225,7 +373225,7 @@ bool model_load_textures(iqm_t *q, const struct iqmheader *hdr, model_t *model)
|
||||||
if( reused ) continue;
|
if( reused ) continue;
|
||||||
|
|
||||||
// decode texture+material
|
// decode texture+material
|
||||||
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT; // LINEAR, NEAREST
|
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT|TEXTURE_LINEAR; // LINEAR, NEAREST
|
||||||
int invalid = texture_checker().id;
|
int invalid = texture_checker().id;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
|
@ -3211,7 +3211,7 @@ bool model_load_textures(iqm_t *q, const struct iqmheader *hdr, model_t *model)
|
||||||
if( reused ) continue;
|
if( reused ) continue;
|
||||||
|
|
||||||
// decode texture+material
|
// decode texture+material
|
||||||
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT; // LINEAR, NEAREST
|
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT|TEXTURE_LINEAR; // LINEAR, NEAREST
|
||||||
int invalid = texture_checker().id;
|
int invalid = texture_checker().id;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
|
@ -20367,7 +20367,7 @@ bool model_load_textures(iqm_t *q, const struct iqmheader *hdr, model_t *model)
|
||||||
if( reused ) continue;
|
if( reused ) continue;
|
||||||
|
|
||||||
// decode texture+material
|
// decode texture+material
|
||||||
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT; // LINEAR, NEAREST
|
int flags = TEXTURE_MIPMAPS|TEXTURE_REPEAT|TEXTURE_LINEAR; // LINEAR, NEAREST
|
||||||
int invalid = texture_checker().id;
|
int invalid = texture_checker().id;
|
||||||
|
|
||||||
#if 1
|
#if 1
|
||||||
|
|
Loading…
Reference in New Issue