mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-26 11:40:44 +00:00
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:
parent
1a9944a260
commit
fb36b256de
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue