]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
try to help subsampling with grates
authorRudolf Polzer <divverent@alientrap.org>
Wed, 22 Sep 2010 05:28:51 +0000 (07:28 +0200)
committerRudolf Polzer <divverent@alientrap.org>
Wed, 22 Sep 2010 05:28:51 +0000 (07:28 +0200)
tools/quake3/q3map2/light_trace.c

index 5bb9f53063e474d566a91ae5514b7bb37c473591..d035ee01324f8d931542bf803743d9768c79054d 100644 (file)
@@ -1553,6 +1553,7 @@ qboolean TraceTriangle( traceInfo_t *ti, traceTriangle_t *tt, trace_t *trace )
        /* check filter for opaque */
        if( trace->color[ 0 ] <= 0.001f && trace->color[ 1 ] <= 0.001f && trace->color[ 2 ] <= 0.001f )
        {
+               VectorClear( trace->color );
                VectorMA( trace->origin, depth, trace->direction, trace->hit );
                trace->opaque = qtrue;
                return qtrue;