Rendering more than 3 dynamic lights crashes engine?
So I'm still working on my GLSL lighting system. I've decided to try a virtual light mapping system that maps virtual lights created in the engine, to the 8 OpenGL lights, based on contribution and brightness.
Before attempting the full system, I tried first rendering one dynamic light...fine...two...fine....three..fine....four.. ..CRASH! And when I say fine, this also means it rendered at an acceptable framerate.
So is this a driver issue? Problem with the code? It dosn't make much sense for 3 lights to render fine, and then 4 to crash the engine, especially when the GPU max is 8-10 :confused: