Ported sample application 4 from AlienFX SDK.