Hello everyone!
I’m looking for the way to get the color of a position of canvas screen in 3D scene.
As you can see the screen shot, when I move the mouse cursor on the art, I want to get the color of picked position by mouse cursor.
Thank you
Hello everyone!
I’m looking for the way to get the color of a position of canvas screen in 3D scene.
Have you considered to used a similar approach like this official example:
https://threejs.org/examples/webgl_read_float_buffer
The idea is to extract the color value from a render target via WebGLRenderer.readRenderTargetPixels().
Cool. thank you
@belopot you can also do like this :
Awesome! thank you Felix.