Ignore transparent surfaces when floodlighting

This commit is contained in:
jal 2010-10-13 16:26:28 +02:00
parent 43f30dc837
commit 8c7ca79ef5

View File

@ -4162,7 +4162,7 @@ float FloodLightForSample( trace_t *trace , float floodLightDistance, qboolean f
TraceLine( trace ); TraceLine( trace );
contribution=1; contribution=1;
if (trace->compileFlags & C_SKY ) if ( trace->compileFlags & C_SKY || trace->compileFlags & C_TRANSLUCENT )
{ {
contribution=1.0f; contribution=1.0f;
} }