Added perspective projection.