Fixed wrong alpha value being applied on sprite shadows in the hardware renderer.

This commit is contained in:
nashmuhandes 2021-05-12 18:55:40 +08:00 committed by Rachael Alexanderson
parent ddcf1535a6
commit e2d3f26a35

View file

@ -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;
}