1 lights brings more than 280 draw calls?!?!

Hi there…

i stumbled over a problem with lights and draw calls…

my map is made of 50*30 tiles. They all have the same material… so the draw calls are 3… really nice and low :slight_smile:

now i add 1 simple point light - no shadow or deferred rendering…
this simple light, rises the dc to 284 o.o

so all i thought is - WTF?!
I planned with up to 20 lights on the screen at once ._.
so - why is this one simple light rising the draw calls? and how can i reduce it without using no lights?

If you expect to have a lot of lights, you should consider using deferred rendering.

okay
but
why more than 280 draw calls for ONE light?!

Because the light has to draw every single object that it affects. Each one is a separate draw call.