Fix "spriteshadow" on voxels in Polymost

git-svn-id: https://svn.eduke32.com/eduke32@7441 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2019-03-20 11:24:19 +00:00 committed by Christoph Oelckers
parent 1a9944a260
commit fb36b256de

View file

@ -957,7 +957,7 @@ int32_t polymost_voxdraw(voxmodel_t *m, const uspritetype *tspr)
if (tspr->extra&TSPR_EXTRA_MDHACK) if (tspr->extra&TSPR_EXTRA_MDHACK)
{ {
glDepthFunc(GL_LESS); //NEVER,LESS,(,L)EQUAL,GREATER,(NOT,G)EQUAL,ALWAYS glDepthFunc(GL_LEQUAL); //NEVER,LESS,(,L)EQUAL,GREATER,(NOT,G)EQUAL,ALWAYS
// glDepthRange(0.0, 0.9999); // glDepthRange(0.0, 0.9999);
} }