-
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
there's no focus or selection highlight in webgl, the canvas is a bunch pixels unrelated to the dom. i've never heard of anything tinting something just like that in threejs. the only explanation is that you somehow color it that way, tonemap it, effects, encoding, colored light, ... something has to cause it. best make a codesandbox. |
Beta Was this translation helpful? Give feedback.
-
Thanks @drcmda I have not managed to locate the bug in my code, but I have made a code sandbox to replicate the problem: I have tried to simplify it down from what I have in my app, but it is still overly complex for a demo, however, it shows a version of the bug pretty dramatically. I will remove zustand and immer tomorrow. The biggest observation I have - is that if I change the colors I use to show the selection state the bug disappears (or is repressed). In my app, I am actually using the greyscale selection colors - but the bug still manifests occasionally. In this image the selected table is pink - but should be red. |
Beta Was this translation helpful? Give feedback.
there's no focus or selection highlight in webgl, the canvas is a bunch pixels unrelated to the dom. i've never heard of anything tinting something just like that in threejs. the only explanation is that you somehow color it that way, tonemap it, effects, encoding, colored light, ... something has to cause it. best make a codesandbox.