]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
turn off exact specular math by default (it's better for fps, and sometimes looks...
authordivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Apr 2009 18:10:24 +0000 (18:10 +0000)
committerdivverent <divverent@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 1 Apr 2009 18:10:24 +0000 (18:10 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8841 d7cf8633-e32d-0410-b094-e92efae38249

r_shadow.c

index a14df78c4848039e75201122dddbbfe2fbc3457e..f18154877700b8ccb0b9985f8c639502362a3c87 100644 (file)
@@ -215,7 +215,7 @@ cvar_t r_shadow_gloss = {CVAR_SAVE, "r_shadow_gloss", "1", "0 disables gloss (sp
 cvar_t r_shadow_gloss2intensity = {0, "r_shadow_gloss2intensity", "0.125", "how bright the forced flat gloss should look if r_shadow_gloss is 2"};
 cvar_t r_shadow_glossintensity = {0, "r_shadow_glossintensity", "1", "how bright textured glossmaps should look if r_shadow_gloss is 1 or 2"};
 cvar_t r_shadow_glossexponent = {0, "r_shadow_glossexponent", "32", "how 'sharp' the gloss should appear (specular power)"};
-cvar_t r_shadow_glossexact = {0, "r_shadow_glossexact", "1", "use exact reflection math for gloss (slightly slower, but should look a tad better)"};
+cvar_t r_shadow_glossexact = {0, "r_shadow_glossexact", "0", "use exact reflection math for gloss (slightly slower, but should look a tad better)"};
 cvar_t r_shadow_lightattenuationdividebias = {0, "r_shadow_lightattenuationdividebias", "1", "changes attenuation texture generation"};
 cvar_t r_shadow_lightattenuationlinearscale = {0, "r_shadow_lightattenuationlinearscale", "2", "changes attenuation texture generation"};
 cvar_t r_shadow_lightintensityscale = {0, "r_shadow_lightintensityscale", "1", "renders all world lights brighter or darker"};