Create Flicker Effect

Wed Nov 13, 2019 4:58 am

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.
grenno
 
Posts: 16
Joined: Sat Feb 25, 2017 12:54 am

Re: Create Flicker Effect

Wed Nov 13, 2019 11:07 am

Try this with a mask, you can always blur it if the line is an issue.
https://www.interactiveshaderformat.com/sketches/2276
visuality
 
Posts: 116
Joined: Sat Dec 20, 2014 9:04 pm

Re: Create Flicker Effect

Wed Nov 13, 2019 4:01 pm

Perhaps you want something more sophisticated but a randomised transparency seems to be acceptable to me.

flicker.jpg
flicker.jpg (11.17 KiB) Viewed 3686 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.
Sadler
 
Posts: 910
Joined: Sat Aug 02, 2014 7:10 pm
Location: London, UK

Re: Create Flicker Effect

Thu Nov 14, 2019 9:08 pm

a nice tips Sadler !
damstraversaz
 
Posts: 170
Joined: Tue Aug 26, 2014 11:22 am

Re: Create Flicker Effect

Fri Nov 15, 2019 5:39 am

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!!
grenno
 
Posts: 16
Joined: Sat Feb 25, 2017 12:54 am

Re: Create Flicker Effect

Tue Aug 24, 2021 7:03 am

heres another method I just came up with.

strobe_scene.png
strobe_scene.png (48.36 KiB) Viewed 815 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

Tue Aug 24, 2021 7:05 am

here's how to toggle the strobe to toggle

strobe_toggle.png
strobe_toggle.png (23.44 KiB) Viewed 815 times
slackmage
 
Posts: 15
Joined: Tue Aug 24, 2021 12:03 am

Return to General Discussion

© 2021 Color & Music, LLC • This web site is mobile-friendly