Drei's <HTML> elements flicker #1894
-
In my project ([https://codesandbox.io/p/sandbox/fbxloader-forked-srz7rj?file=%2Fpublic%2Findex.html%3A15%2C56]), labels are put on a 3D model for annotation purpose. The problem is that the labels are flickering in my app. Please note that the labels are displayed without any problem in another app that uses CSS2DRenderer. However in my project I have to use React Three Fiber and Drei. Any help is greatly appreciated. PS: since the model and the texture are big, it takes around 1 minute for the codesandbox to finish loading. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
On discourse forum, someone has pointed out that if the labels are too close to the model, this could cause flickering. It is not sure how this is not an issue in the other app though they also use raycaster to detect occlusion. |
Beta Was this translation helpful? Give feedback.
On discourse forum, someone has pointed out that if the labels are too close to the model, this could cause flickering. It is not sure how this is not an issue in the other app though they also use raycaster to detect occlusion.