particle system updated to use uniform buffer objects.