SphereSlicer : Fix shader error when FromEnv is not enabled