From: divverent Date: Wed, 30 Dec 2009 10:27:35 +0000 (+0000) Subject: don't bounce from trans surfaces X-Git-Tag: svn-r421~15 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=ec87692d940cba7ac37fbae4f22fab26b6aea161;p=xonotic%2Fnetradiant.git don't bounce from trans surfaces git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335 --- diff --git a/tools/quake3/q3map2/light_bounce.c b/tools/quake3/q3map2/light_bounce.c index dba5b131..6d7c54fc 100644 --- a/tools/quake3/q3map2/light_bounce.c +++ b/tools/quake3/q3map2/light_bounce.c @@ -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 ||