Page 1 of 1

Spotlights are too resource-intensive.

Posted: Wed Feb 21, 2018 4:44 am
by DOOMGABR [RU]
My question about last pre-version. Why spotlights over-consuming PC resources? Fps drops from 100 to 50 at the 4 spotlights.

Re: Spotlights are too resource-intensive.

Posted: Wed Feb 21, 2018 4:54 am
by Accensus
Split topic from this thread.

Re: Spotlights are too resource-intensive.

Posted: Wed Feb 21, 2018 5:42 am
by dpJudas
Large spot lights are so expensive because visibility is currently only handled at the shader level. The CPU side culling code treats them like point lights, which means they will be included in light lists for surfaces in a sphere around the spotlight, rather than just the wedge lit by it.

Basically, they cost the same as a point light at the same position and radius.