I am building a 360 photo viewer in VisionOS 26. Which allows the user to choose a 2 by 1 jpg and then renders it with a sphere mesh entity. And I use: TextureResource(contentsOf: url, options: options).
I noticed two situations here in terms of mipmaps options. When setting "mipmapsMode: .none":
- The graphic quality within the "gaze area" looks sharp and clear
- The two poles (top and bottom) are perfectly rendered
- Massive shimmer around the "gaze area"
When setting "mipmapsMode: .allocateAndGenerateAll":
- The graphic looks slightly blurrier than in ".none" within the "gaze area"
- The two poles are very blurry and hard to recognize the texture
- Much less shimmer around the "gaze area"
My question would be: Is there a way to have the perfect graphic quality in ".none" without the massive shimmer?
Thank you!
Screenshots:
mipmapsMode: .none
mipmapsMode: .allocateAndGenerateAll