c++ - opengl - flash of light (like when shooting) -


i'm trying create flash of light (like when shooting). e.g. (it's real video, need similar, more simpler):

enter image description here

i need using opengl - can't model one. nice if little random. can give me hints?

i don't know how want look, can fake using alpha textured quads laid out in cross, can move texture little every frame in direction of muzzle pointing make if moving.

it simple , easy implement , flash should quick thing user never know able tell difference.


Comments

Popular posts from this blog

Why does Ruby on Rails generate add a blank line to the end of a file? -

keyboard - Smiles and long press feature in Android -

node.js - Bad Request - node js ajax post -