Previous topicNext topic

Create Flicker Effect

Questions, comments, feedback, etc.
Post Reply
grenno
Posts: 16
Joined: Sat Feb 25, 2017 12:54 am

Create Flicker Effect

Post by grenno »

I've had a look online and I can't find anything so thought I'd ask here.

Does anybody know the best way to create a flicker effect?

I essentially want an effect to flicker on and off like a strobe/flickering neon sign.

I've tried doing it mathematically using random/gate/hold but it's not just creating the desired effect of having it flicker on very quickly and for very short periods.
visuality
Posts: 116
Joined: Sat Dec 20, 2014 9:04 pm

Re: Create Flicker Effect

Post by visuality »

Try this with a mask, you can always blur it if the line is an issue.
https://www.interactiveshaderformat.com/sketches/2276
Sadler
Posts: 1139
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Create Flicker Effect

Post by Sadler »

Perhaps you want something more sophisticated but a randomised transparency seems to be acceptable to me.
flicker.jpg
flicker.jpg (11.17 KiB) Viewed 7341 times
First Random controls the full ON/OFF flicker and the second the more subtle flickers. The offset controls the intensity and the threshold controls the amount of full ON/OFF.
damstraversaz
Posts: 176
Joined: Tue Aug 26, 2014 11:22 am

Re: Create Flicker Effect

Post by damstraversaz »

a nice tips Sadler !
grenno
Posts: 16
Joined: Sat Feb 25, 2017 12:54 am

Re: Create Flicker Effect

Post by grenno »

Visuality, I was hoping to get it to flash at random so that ISF isn't suitable unfortunately, thanks for you help though!

Sadler, after having a fiddle this has done the trick great. Thank you!!
slackmage
Posts: 15
Joined: Tue Aug 24, 2021 12:03 am

Re: Create Flicker Effect

Post by slackmage »

heres another method I just came up with.
strobe_scene.png
strobe_scene.png (48.36 KiB) Viewed 4470 times
increase the ramp value to get it to strobe faster
slackmage
Posts: 15
Joined: Tue Aug 24, 2021 12:03 am

Re: Create Flicker Effect

Post by slackmage »

here's how to toggle the strobe to toggle
strobe_toggle.png
strobe_toggle.png (23.44 KiB) Viewed 4470 times
Post Reply