diff --git a/include/light/light.h b/include/light/light.h index 6b8db7b0..f4fda795 100644 --- a/include/light/light.h +++ b/include/light/light.h @@ -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]; diff --git a/light/light.cc b/light/light.cc index fc322d10..55c16754 100644 --- a/light/light.cc +++ b/light/light.cc @@ -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); diff --git a/man/light.1 b/man/light.1 index 81fccfed..9083c495 100644 --- a/man/light.1 +++ b/man/light.1 @@ -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"