Browse Source

auto-normalize-lighting should be the default behavior

David Rose 22 years ago
parent
commit
310fe6e553

+ 1 - 1
panda/src/dxgsg7/config_dxgsg7.cxx

@@ -62,7 +62,7 @@ bool dx_no_vertex_fog = config_dxgsg7.GetBool("dx-no-vertex-fog", false);
 // expect lighting to work correctly.  Maybe one day there will be
 // another way to set this at runtime, instead of only as a configure
 // variable
-bool dx_auto_normalize_lighting = config_dxgsg7.GetBool("auto-normalize-lighting", false);
+bool dx_auto_normalize_lighting = config_dxgsg7.GetBool("auto-normalize-lighting", true);
 
 bool dx_allow_software_renderer = config_dxgsg7.GetBool("dx-allow-software-renderer", false);
 bool dx_force_software_renderer = config_dxgsg7.GetBool("dx-force-software-renderer", false);

+ 1 - 1
panda/src/dxgsg8/config_dxgsg8.cxx

@@ -74,7 +74,7 @@ bool dx_use_triangle_mipgen_filter = config_dxgsg8.GetBool("dx-use-triangle-mipg
 // expect lighting to work correctly.  Maybe one day there will be
 // another way to set this at runtime, instead of only as a configure
 // variable
-bool dx_auto_normalize_lighting = config_dxgsg8.GetBool("auto-normalize-lighting", false);
+bool dx_auto_normalize_lighting = config_dxgsg8.GetBool("auto-normalize-lighting", true);
 
 bool dx_show_fps_meter = config_dxgsg8.GetBool("show-fps-meter", false);
 float dx_fps_meter_update_interval = max(0.5,config_dxgsg8.GetFloat("fps-meter-update-interval", 1.7));

+ 1 - 1
panda/src/glgsg/config_glgsg.cxx

@@ -65,7 +65,7 @@ bool gl_save_mipmaps = config_glgsg.GetBool("gl-save-mipmaps", false);
 // expect lighting to work correctly.  Maybe one day there will be
 // another way to set this at runtime, instead of only as a configure
 // variable.
-bool gl_auto_normalize_lighting = config_glgsg.GetBool("auto-normalize-lighting", false);
+bool gl_auto_normalize_lighting = config_glgsg.GetBool("auto-normalize-lighting", true);
 
 // Configure this true to try to implement decals using a
 // DepthOffsetAttrib, false to do them with the more reliable 3-pass