From fe8b0a57cd99ec9d3022016b21d6ce3041318dfa Mon Sep 17 00:00:00 2001 From: Faerbit Date: Thu, 4 Jun 2015 11:22:27 +0200 Subject: [PATCH] Optimized scheduling once again. --- game/graphics.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/game/graphics.cc b/game/graphics.cc index 91b3310..1c23531 100644 --- a/game/graphics.cc +++ b/game/graphics.cc @@ -690,7 +690,7 @@ void Graphics::updateLights() { // update priority of the shadow render queue for(unsigned int i = 0; igetCameraCenter()->getPosition(), shadowRenderQueue.at(i).light->getPosition()); - shadowRenderQueue.at(i).priority = (int) 100*std::exp(5.0f - 0.05f * distance); + shadowRenderQueue.at(i).priority = (int) 100*std::exp(5.0f - 0.1f * distance); } // Build light position array