From 310fe6e553d90e946bf5f51f2bb7e8725e22d280 Mon Sep 17 00:00:00 2001 From: David Rose Date: Mon, 13 Oct 2003 18:44:26 +0000 Subject: [PATCH] auto-normalize-lighting should be the default behavior --- panda/src/dxgsg7/config_dxgsg7.cxx | 2 +- panda/src/dxgsg8/config_dxgsg8.cxx | 2 +- panda/src/glgsg/config_glgsg.cxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/panda/src/dxgsg7/config_dxgsg7.cxx b/panda/src/dxgsg7/config_dxgsg7.cxx index 7d9a08f842..73c69db0ad 100644 --- a/panda/src/dxgsg7/config_dxgsg7.cxx +++ b/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); diff --git a/panda/src/dxgsg8/config_dxgsg8.cxx b/panda/src/dxgsg8/config_dxgsg8.cxx index c429a0d1fc..1770ad9886 100644 --- a/panda/src/dxgsg8/config_dxgsg8.cxx +++ b/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)); diff --git a/panda/src/glgsg/config_glgsg.cxx b/panda/src/glgsg/config_glgsg.cxx index 8166f94b9e..959fcc86e5 100644 --- a/panda/src/glgsg/config_glgsg.cxx +++ b/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