Flat parallax skies in Polymost

Patch from Nuke.YKT.

git-svn-id: https://svn.eduke32.com/eduke32@8074 1a8010ca-5511-0410-912e-c29ae57300e0

# Conflicts:
#	source/build/src/polymost.cpp
#	source/build/src/voxmodel.cpp
This commit is contained in:
terminx 2019-09-03 04:09:25 +00:00 committed by Christoph Oelckers
parent 4b6123f303
commit c8d42af954
5 changed files with 242 additions and 25 deletions

View file

@ -1140,7 +1140,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
const float phack[2] = { 0, 1.f/256.f };
char prevClamp = polymost_getClamp();
polymost_setClamp(false);
polymost_setClamp(0);
if (!m->texid[globalpal])
m->texid[globalpal] = gloadtex(m->mytex, m->mytexx, m->mytexy, m->is8bit, globalpal);