make particle engine work with camera.