mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-11 15:22:16 +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;
|
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)
|
if (hw_styleflags == STYLEHW_Solid)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue