How do I make a light less laggy?

Godot Version

4.4

Question

`I made a light and light switches using a video by Omogonix* and when I turn it on it lags the game when its on and I think its because the size of the OmniLight3D but I tried resizing it and that worked a little bit but it still lags when it is on. Is there any way to fix the lag completely?

*https://www.youtube.com/watch?v=-MbPJjbIX4c&list=PLWI8H56cvVoLri4Z2hr152v2NGKTI-nio&index=2 (At 21:04 he makes the light)`