adding first version of 3d sprites support