How can I create a Flickering Lighting Effect without noticeable framerate drops?

Sorry for a delay in answering – I just want to confirm that

  • This is the same bug as in Frame rate drops when Light is on - #3 by Recongalina . Toggling lights on/off should be instant, but it’s not, right now → as we rebuild shaders. We will fix it :), at least by adding sthg like Dynamic flag for lights.
  • The workaround to use Intensity , as pointed by @hal09 , is indeed the best workaround for now. Changing Intensity just multiplies the light effect, changing it is instant → we just pass the new intensity to the existing shaders.
1 Like