I'd like to know the math behind the light effect in krakatoa (click here for an example).
Light source is traveling with particles, but how is shading done? Is it something simple, like Phong shading? Is it possible to implement such effect in real time on GPU?