Hello, I’m importing gltf into threejs, and I find that when camera is away from model, there will be some strange reflection on the model.
What is the problem and how to fix it?
Does the model have overlapping surfaces in that place? Distance related issues are usually caused by z-fighting.
I downloaded the model from sketchfab, and I put it into an online gltf viewer, the problem still exists in the viewer
and I didn’t find any extra surface in the wireframe of this model
Possible to share the model here?
You might try changing minFilter/magFilter settings of the texture perhaps.
Hello, the model is downloaded from here: Solar Panel - Download Free 3D model by Harri Snellman (@rivetech) [83483a6] - Sketchfab
Hm, I don’t see anything like that opening the model on https://gltf-viewer.donmccurdy.com/ (which is also based on three.js).
Is there anything else in your scene? What’s the light source? A demo and/or code might be necessary if you’re still having trouble.
I have viewed the model on the website you mentioned, the problem still exists when camera moves away, below is my screenshot
the model is on the bottom right corner of my screenshot, and you can see that the light on the surface of the model is strange
Hm, I haven’t been able to reproduce that. Screenshot:
If you have access to a second computer or a mobile device (or if someone else in this thread wants to check), it might be worth checking if the same thing occurs on other devices. Perhaps there’s a device- or GPU-specific bug happening.
Thank you, it seems to be the reason. I was using my laptop, and I tried on my PC, there is no such bug.