Lightning - Screen flash effect

  • #1, z darren-beckettThursday, 23. February 2017, 17:39 hodinky 8 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?

    Čestný člen

    384 Posts


  • #2, z ke4Thursday, 23. February 2017, 17:49 hodinky 8 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

    Zabiják klíčů

    810 Posts