From ec87692d940cba7ac37fbae4f22fab26b6aea161 Mon Sep 17 00:00:00 2001 From: divverent Date: Wed, 30 Dec 2009 10:27:35 +0000 Subject: [PATCH] don't bounce from trans surfaces git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335 --- tools/quake3/q3map2/light_bounce.c | 3 +++ 1 file changed, 3 insertions(+) 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 || -- 2.39.2