Extended example with env mapping, trackball control and stats