mirror of
https://github.com/Garux/netradiant-custom.git
synced 2026-09-28 00:00:03 +02:00
Fix bounce lighting for styled lights
This commit is contained in:
@@ -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 ];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user