Hi, all, I am wondering why adding three spotlights increase draw calls from 60 to 400-450?
Hi, I’m testing on version 3.7.0, adding 3 spot lights and drawcall from 50 → 59
NewProject 2.zip (2.4 MB)
When I increased the size of light and moved away the lights a little bit, I got 70 draw calls in your scene.
I looked in Spector.js and see there is a lot of pretty the same frames rendered and they duplicated by each light (so this lights render scene separately, one by one).
In my case I think every object has from 2 to 6 materials and 3 lights renders each of this object and materials separately so it is the case of such a lot of draw calls.
But I am wondering if I can somehow reduce draw calls?