preload textures. minor refactor to particleprocessor