- fixed brightmaps again - hopefully for real this time.

The lighting model being used here is not really good for implementing render effect.
This commit is contained in:
Christoph Oelckers 2019-11-11 23:54:09 +01:00
parent 3be9deb070
commit 022c074ece
4 changed files with 10 additions and 6 deletions

View file

@ -1128,6 +1128,9 @@ int32_t polymost_voxdraw(voxmodel_t *m, tspriteptr_t const tspr)
m->texid[globalpal] = gloadtex(m->mytex, m->mytexx, m->mytexy, m->is8bit, globalpal);
GLInterface.BindTexture(0, m->texid[globalpal], -1);
GLInterface.UseBrightmaps(false);
GLInterface.UseGlowMapping(false);
GLInterface.UseDetailMapping(false);
#endif
auto data = GLInterface.AllocVertices(m->qcnt * 4);