mirror of
https://github.com/ZDoom/gzdoom-last-svn.git
synced 2025-05-31 01:10:52 +00:00
- fixed: shaded sprites need to disable the alpha test.
git-svn-id: http://mancubus.net/svn/hosted/gzdoom/trunk@418 b0f79afe-0144-0410-b225-9a4edf0717df
This commit is contained in:
parent
cf6c460444
commit
b448ccc9cb
1 changed files with 1 additions and 1 deletions
|
@ -688,7 +688,7 @@ void GLSprite::Process(AActor* thing,sector_t * sector)
|
|||
|
||||
hw_styleflags = STYLEHW_Solid;
|
||||
}
|
||||
if (gltexture && gltexture->GetTransparent())
|
||||
if ((gltexture && gltexture->GetTransparent()) || (RenderStyle.Flags & STYLEF_RedIsAlpha))
|
||||
{
|
||||
hw_styleflags = STYLEHW_NoAlphaTest;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue