- disable alpha test on models if the renderstyle isn't STYLE_Normal

This commit is contained in:
Magnus Norddahl 2018-12-03 10:46:28 +01:00
parent 099b278f18
commit 4604c9379c
1 changed files with 1 additions and 1 deletions

View File

@ -1029,7 +1029,7 @@ void GLSprite::Process(HWDrawInfo *di, AActor* thing, sector_t * sector, area_t
RenderStyle.DestAlpha = STYLEALPHA_InvSrc;
}
}
if ((gltexture && gltexture->tex->GetTranslucency()) || (RenderStyle.Flags & STYLEF_RedIsAlpha))
if ((gltexture && gltexture->tex->GetTranslucency()) || (RenderStyle.Flags & STYLEF_RedIsAlpha) || (modelframe && RenderStyle != DefaultRenderStyle()))
{
if (hw_styleflags == STYLEHW_Solid)
{