mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-24 04:51:41 +00:00
- disable alpha test on models if the renderstyle isn't STYLE_Normal
This commit is contained in:
parent
099b278f18
commit
4604c9379c
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue