From: GitHub <no...@gi...> - 2015-11-19 00:27:09
|
Branch: refs/heads/LightOptimisations Home: https://github.com/supertuxkart/stk-code Commit: 5aa342ba3059748046a5ec31b883e040c1df8e56 https://github.com/supertuxkart/stk-code/commit/5aa342ba3059748046a5ec31b883e040c1df8e56 Author: Marianne Gagnon <aur...@gm...> Date: 2015-11-18 (Wed, 18 Nov 2015) Changed paths: M src/graphics/light.cpp M src/graphics/light.hpp M src/graphics/render_lighting.cpp Log Message: ----------- First set of attempts at optimising lights : reduce and cull more lights as they are out of sight or far. I get a decent FPS boost for this, still a few visual glitches in some tracks and also the code is not too clean |