using direction in baking fot vector field