Raycaster fails hit test

It makes things simplier, if to add the event listener to the canvas (renderer.domElement) and use offsetX and offsetY :beers: :
https://jsfiddle.net/zdy1hc9z/4/
https://jsfiddle.net/zdy1hc9z/5/

3 Likes