indoor sky box is displayed large and far in the field of view in visionos?

The indoor sky box is displayed large and far in the field of view in visionos? why?

func addSkybox(for destination: Destination) {
        let subscription = TextureResource.loadAsync(named: destination.imageName).sink(
            receiveCompletion: {
                switch $0 {
                case .finished: break
                case .failure(let error): assertionFailure("\(error)")
                }
            },
            receiveValue: { [weak self] texture in
                guard let self = self else { return }
                var material = UnlitMaterial()
                material.color = .init(texture: .init(texture))
                self.components.set(ModelComponent(
                    mesh: .generateSphere(radius: 1E3),
                    materials: [material]
                ))
                // We flip the sphere inside out so the texture is shown inside.
                self.scale *= .init(x: -1, y: 1, z: 1)
                self.transform.translation += SIMD3<Float>(0.0, 1.0, 0.0)
                
                // Rotate the sphere to show the best initial view of the space.
                updateRotation(for: destination)
            }
        )
        components.set(Entity.SubscriptionComponent(subscription: subscription))
    }

by https://developer.apple.com/documentation/visionos/destination-video

I encountered the same problem

Hello @zleisure,

.generateSphere(radius: 1E3)

This sphere mesh has a 100 meter radius. Try a smaller radius (or scale it down) to make it smaller.

Hello @gchiste Making it smaller, say a radius of 1 meter, does work better. Why, I understand that fov doesn't change?

indoor sky box is displayed large and far in the field of view in visionos?
 
 
Q