Stack Exchange Network
Stack Exchange network consists of 181 Q&A communities including
Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Visit Stack Exchange
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this community
Anybody can ask a question
The best answers are voted up and rise to the top
11 years, 6 months ago
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?
Sep 20, 2011 at 19:27
191 4 4 bronze badges
It looks like self shadowing particles to me; basically you have 3 point lights that move about the scene with a smoke/particle trail. The hard part with getting that look right is that the particles are translucent so you can't really do hard shadows,
Volumetric Particle Shadows might be a good start for implementing a similar effect. Hope it helps.
Jan 23, 2012 at 6:22
log in to answer this question.
Not the answer you're looking for? Browse other questions tagged
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our
Accept all cookies
Necessary cookies only