From e2ce015d49b3c14d257680087fd4029828ba3855 Mon Sep 17 00:00:00 2001 From: Alug Date: Wed, 7 Feb 2024 09:15:17 +0100 Subject: [PATCH] fix for opengl sprite shadow colour --- src/hardware/hw_main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/hardware/hw_main.c b/src/hardware/hw_main.c index 5aed4f9d6..55b5269c6 100644 --- a/src/hardware/hw_main.c +++ b/src/hardware/hw_main.c @@ -4071,9 +4071,9 @@ static void HWR_DrawSpriteShadow(gr_vissprite_t *spr, GLPatch_t *gpatch, float t swallVerts[0].t = swallVerts[1].t = gpatch->max_t; } - sSurf.PolyColor.s.red = 0x00; - sSurf.PolyColor.s.blue = 0x00; - sSurf.PolyColor.s.green = 0x00; + sSurf.PolyColor.s.red = 0x01; + sSurf.PolyColor.s.blue = 0x01; + sSurf.PolyColor.s.green = 0x01; // shadow is always half as translucent as the sprite itself if (!cv_translucency.value) // use default translucency (main sprite won't have any translucency)