projects
/
xonotic
/
netradiant.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1ec2aec
)
try to help subsampling with grates
author
Rudolf Polzer <divverent@alientrap.org>
Wed, 22 Sep 2010 05:28:51 +0000
(07:28 +0200)
committer
Rudolf Polzer <divverent@alientrap.org>
Wed, 22 Sep 2010 05:28:51 +0000
(07:28 +0200)
tools/quake3/q3map2/light_trace.c
patch
|
blob
|
history
diff --git
a/tools/quake3/q3map2/light_trace.c
b/tools/quake3/q3map2/light_trace.c
index 5bb9f53063e474d566a91ae5514b7bb37c473591..d035ee01324f8d931542bf803743d9768c79054d 100644
(file)
--- 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;