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

**URL:** https://forum.castle-engine.io/t/how-can-i-create-a-flickering-lighting-effect-without-noticeable-framerate-drops/2120
**Category:** 3D
**Created:** [February 17, 2026, 1:55pm UTC](https://forum.castle-engine.io/t/how-can-i-create-a-flickering-lighting-effect-without-noticeable-framerate-drops/2120 "2026-02-17T13:55:46Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![michalis](https://forum.castle-engine.io/user_avatar/forum.castle-engine.io/michalis/32/3_2.png) [@michalis](https://forum.castle-engine.io/u/michalis)
#### Post date: [February 19, 2026, 4:38pm UTC](https://forum.castle-engine.io/t/how-can-i-create-a-flickering-lighting-effect-without-noticeable-framerate-drops/2120/3 "2026-02-19T16:38:14Z")

</div>

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](https://forum.castle-engine.io/t/frame-rate-drops-when-light-is-on/2116/3) . 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.

---

_[View the full topic](https://forum.castle-engine.io/t/how-can-i-create-a-flickering-lighting-effect-without-noticeable-framerate-drops/2120)._
