don't bounce from trans surfaces
git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335
This commit is contained in:
parent
0037763448
commit
ec87692d94
|
|
@ -836,6 +836,9 @@ void RadLight( int num )
|
|||
/* find nodraw bit */
|
||||
contentFlags = surfaceFlags = compileFlags = 0;
|
||||
ApplySurfaceParm( "nodraw", &contentFlags, &surfaceFlags, &compileFlags );
|
||||
|
||||
// jal : avoid bouncing on trans surfaces
|
||||
ApplySurfaceParm( "trans", &contentFlags, &surfaceFlags, &compileFlags );
|
||||
|
||||
/* early outs? */
|
||||
if( scale <= 0.0f || (si->compileFlags & C_SKY) || si->autosprite ||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user