From: Rudolf Polzer Date: Wed, 22 Sep 2010 05:28:51 +0000 (+0200) Subject: try to help subsampling with grates X-Git-Tag: xonotic-v0.5.0~218 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=33dae6db130ddee8deb599c79da6582d8a0ead31;p=xonotic%2Fnetradiant.git try to help subsampling with grates --- diff --git a/tools/quake3/q3map2/light_trace.c b/tools/quake3/q3map2/light_trace.c index 5bb9f530..d035ee01 100644 --- a/tools/quake3/q3map2/light_trace.c +++ b/tools/quake3/q3map2/light_trace.c @@ -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;