try to help subsampling with grates
This commit is contained in:
parent
1ec2aec67e
commit
33dae6db13
|
|
@ -1553,6 +1553,7 @@ qboolean TraceTriangle( traceInfo_t *ti, traceTriangle_t *tt, trace_t *trace )
|
||||||
/* check filter for opaque */
|
/* check filter for opaque */
|
||||||
if( trace->color[ 0 ] <= 0.001f && trace->color[ 1 ] <= 0.001f && trace->color[ 2 ] <= 0.001f )
|
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 );
|
VectorMA( trace->origin, depth, trace->direction, trace->hit );
|
||||||
trace->opaque = qtrue;
|
trace->opaque = qtrue;
|
||||||
return qtrue;
|
return qtrue;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user