Ignore transparent surfaces when floodlighting
This commit is contained in:
parent
43f30dc837
commit
8c7ca79ef5
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user