light: remove broken -fence feature

This commit is contained in:
Eric Wasylishen 2016-05-27 15:50:52 -06:00
parent d524b4c3ad
commit b17e345087
3 changed files with 0 additions and 10 deletions

View File

@ -272,7 +272,6 @@ void WorldToTexCoord(const vec3_t world, const texinfo_t *tex, vec_t coord[2]);
vec_t
TriangleArea(const vec3_t v0, const vec3_t v1, const vec3_t v2);
extern qboolean testFenceTextures;
extern qboolean surflight_dump;
extern char mapfilename[1024];

View File

@ -67,7 +67,6 @@ qboolean bounce = false;
vec_t bouncescale = 1.0f;
vec_t bouncecolorscale = 0.0f;
qboolean testFenceTextures = false;
qboolean surflight_dump = false;
static facesup_t *faces_sup; //lit2/bspx stuff
@ -1326,9 +1325,6 @@ main(int argc, const char **argv)
bounce = true;
bouncecolorscale = atof( argv[ ++i ] );
logprint( "Bounce color scale factor set to %f on command line\n", bouncecolorscale );
} else if ( !strcmp( argv[ i ], "-fence" ) ) {
testFenceTextures = true;
logprint( "Fence texture tracing enabled on command line\n" );
} else if ( !strcmp( argv[ i ], "-surflight_subdivide" ) ) {
surflight_subdivide = atof( argv[ ++i ] );
surflight_subdivide = qmin(qmax(surflight_subdivide, 64.0f), 2048.0f);

View File

@ -68,11 +68,6 @@ ignoring all lights in the map. Useful for previewing and turning the dirt setti
.IP "\fB\-dirtmode n\fP | \fB\-dirtdepth n\fP | \fB\-dirtscale n\fP | \fB\-dirtgain n\fP | \fB\-dirtangle n\fP"
Fine-tune the dirtmapping, overriding the corresponding worldspawn keys. See the
worldspawn keys below.
.IP "\fB\-fence\fP"
Enables light to pass through transparent pixels in fence textures
(textures with a "{" prefix). Typically, shadow-casting fences should
be a func_wall entity with the "_shadow" "1" key set. Default is for
transparent pixels to block light.
.IP "\fB\-gamma [n]\fP"
Adjust brightness of final lightmap. Default 1, >1 is brighter, <1 is darker. See "_gamma" worldspawn key.
.IP "\fB\-lux\fP"