Mercury's sexy lens flares
category: code [glöplog]
How do they work? Is it that raytraced lens simulation thing (can't find the paper now, but I remember it was huge)?
nah, it's all just fudging around in the fragment shader. One reason it works okay is that we use the brightness of the screen at the sun position if the sun is on screen (so the flare disappears when occluded) and a constant offscreen brightness if it is not.
hexagonal!
Gah, ofcourse...All i was thinkin was i neede a voxel map for that.