Archived

This topic is now archived and is closed to further replies.

Newbie00

Flashbang Effect

Recommended Posts

Newbie00    122
I am interested in adding a flashbang effect similar to the one found in the game Raven Shield. Does anyone know how I would make such an effect?

Share this post


Link to post
Share on other sites
GroZZleR    820
A quad drawn last over the entire screen?

(Note: I've never played Raven Shield, I'm assuming its just a white blinding flash)

[edited by - GroZZleR on May 25, 2004 1:54:47 AM]

Share this post


Link to post
Share on other sites
smitty1276    560
You would need to capture an image of the screen just as the flash went off... that image is then burned into the retinas after the bright flash has subsided, so you will want that screenshot displayed (textured quad would be good) as the only thing the player can see at first (with a little "washed-out" look). You will have it fade away slowly to reveal whatever it is that the player is actually looking at as the effect wears off (alpha blending).

I believe R6RS also uses some motion blur in the immediate aftermath of the flash, as the new and old images are sorting themselves out. And of course the ear-ringing sound drowning out everything else is a nice necessity.

Share this post


Link to post
Share on other sites
yzzid    146
Yes smitty is on to the effect. I also think that the current image was washed out by using a modulate2 or modulate4 texture blending mode.

Share this post


Link to post
Share on other sites