Ported sample application 3 from AlienFX SDK.