mirror of
https://github.com/TTimo/GtkRadiant.git
synced 2025-01-25 02:41:22 +00:00
q3map2 * fix: do not affect styled lightmaps by floodlight
port of https://github.com/id-tech-3-tools/map-compiler/pull/12
87b8589a3a
This commit is contained in:
parent
1f6d29eac8
commit
090fbf3d0d
1 changed files with 3 additions and 0 deletions
|
@ -4109,6 +4109,9 @@ float FloodLightForSample( trace_t *trace ){
|
|||
/* set endpoint */
|
||||
VectorMA( trace->origin, dd, direction, trace->end );
|
||||
|
||||
if( lm->styles[lightmapNum] != LS_NORMAL && lm->styles[lightmapNum] != LS_NONE ) // isStyleLight
|
||||
continue;
|
||||
|
||||
//VectorMA( trace->origin, 1, direction, trace->origin );
|
||||
|
||||
SetupTrace( trace );
|
||||
|
|
Loading…
Reference in a new issue