Lightning - Screen flash effect

  • #1, by darren-beckettThursday, 23. February 2017, 17:39 3 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

    351 Posts


  • #2, by ke4Thursday, 23. February 2017, 17:49 3 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
    1
    2

    Key Killer

    810 Posts

Write post