Why not using the z-axis to create the perspective effect instead of doing the math by yourself using the factor?