]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
don't bounce from trans surfaces
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 30 Dec 2009 10:27:35 +0000 (10:27 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Wed, 30 Dec 2009 10:27:35 +0000 (10:27 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@405 61c419a2-8eb2-4b30-bcec-8cead039b335

tools/quake3/q3map2/light_bounce.c

index dba5b131500c0390a09b4fb55f0da6c45b46d107..6d7c54fc6d49aee5f525b47bbf7c989c7c5267d8 100644 (file)
@@ -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 ||