Merge pull request #243 from TomArrow/anotherstylefix

Fix bounce lighting for styled lights
This commit is contained in:
Garux
2025-08-01 04:08:43 +05:00
committed by GitHub
+1 -1
View File
@@ -283,7 +283,7 @@ static void RadSample( int lightmapNum, bspDrawSurface_t *ds, rawLightmap_t *lm,
for ( l = 0; l < 3; l++ )
{
st += rv[ l ]->st * blend[ l ];
lightmap += rv[ l ]->lightmap[ lightmapNum ] * blend[ l ];
lightmap += rv[ l ]->lightmap[ 0 ] * blend[ l ];
alphaI += rv[ l ]->color[ lightmapNum ].alpha() * blend[ l ];
}