Hi there. I was using BJS Lite and realized that if the created canvas does not start on the top left of the document, it fails to do picking correctly.
Ok, I think I found a workaround by subtracting the canvas’s x and y starting position from the pointer event positions. For example, if I put the canvas at the bottom left, I would need to use await pickAsync(gpuPicker, pointerEvent.x, pointerEvent.y - canvas.getBoundingClientRect().top)
Hope this helps someone else that comes across this.