mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-18 00:11:37 +00:00
Fixed wrong alpha value being applied on sprite shadows in the hardware renderer.
This commit is contained in:
parent
ddcf1535a6
commit
e2d3f26a35
1 changed files with 1 additions and 1 deletions
|
@ -1135,7 +1135,7 @@ void HWSprite::Process(HWDrawInfo *di, AActor* thing, sector_t * sector, area_t
|
|||
if (isSpriteShadow)
|
||||
{
|
||||
RenderStyle = STYLE_Stencil;
|
||||
ThingColor = MAKEARGB(ColorMatcher.Pick(0, 0, 0), 0, 0, 0);
|
||||
ThingColor = MAKEARGB(255, 0, 0, 0);
|
||||
trans = 0.5f;
|
||||
hw_styleflags = STYLEHW_NoAlphaTest;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue