Why doesn't my texture look crisper when I zoom it? #2662
Unanswered
MeRahulAhire
asked this question in
Q&A
Replies: 1 comment 11 replies
-
I'd see #1731 and play with the texture filtering and bump the anisotropy. |
Beta Was this translation helpful? Give feedback.
11 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @drcmda, I'm using a
8192x4096
px image as a texture on glb sphere. When I zoom the camera I don't see the details as what we excpect while normally zooming high res image. Rather, even on normal view distance the texture appear to be less crisp and slightly blurry as compared to original image. it seems like the threejs or R3F is sampling the pixel values in improper way especially at Egypt, US and other. I try adding even more high res image but it created the same result.Here's the Demo - https://b375b1d9.experientia-in.pages.dev/nasa-black-marble
This is the actual image which I'm using as texture - https://static.experientia.in/nasaBlackMarble/2016_nasaBlackMarble_8K_bin.webp
There's nothing so special about the code, but incase you want to review it, here you go.
index.jsx
From last month, I'm trying to debug this issue, I thought maybe its OpenLayers's fault as I'm projecting map on a sphere via canvasTexture and the answer is no because I can see OpenLayers's Canvas rendering clear image but I'm not understanding what's happening when I use it over R3F.
Can you please help me with this. I tried almost everything but nothing seems to work.
Beta Was this translation helpful? Give feedback.
All reactions