- use high level textures to render voxels.

This commit is contained in:
Christoph Oelckers 2020-05-30 00:30:56 +02:00
parent cca4fc609f
commit cdcb25bc1f
7 changed files with 55 additions and 53 deletions

View file

@ -1726,7 +1726,7 @@ static int32_t polymost_md3draw(md3model_t *m, tspriteptr_t tspr)
}
#endif
int palid = TRANSLATION(Translation_Remap + curbasepal, globalpal);
GLInterface.SetModelTexture(tex, palid, det, detscale, glow);
GLInterface.SetTexture(-1, tex, palid, 0, CLAMP_XY);
if (tspr->clipdist & TSPR_FLAGS_MDHACK)
{