Lightning - Screen flash effect

  • #1, by darren-beckettThursday, 23. February 2017, 17:39 7 years ago
    Any ideas how i can achieve a quick flash of the whole scene to represent a flash of lightning?

    Maybe i could stretch a small animation to fullscreen with lua?
    Any ideas?

    Great Poster

    384 Posts


  • #2, by ke4Thursday, 23. February 2017, 17:49 7 years ago
    You could try animate the shader lightness effect.

    shaderLightness(0.1, 3000) -- adjust screen lightness over 3000 milliseconds
    
    shaderLightness(0.1, 0) -- adjust screen lightness instantly

    Key Killer

    810 Posts