# \#gpu-picking

**URL:** https://discourse.threejs.org/tag/gpu-picking/438.md

[Latest](https://discourse.threejs.org/latest.md) · [Categories](https://discourse.threejs.org/categories.md) · [Tags](https://discourse.threejs.org/tags.md)

---

## [Best way to do Instanced Mesh picking in 2024?](https://discourse.threejs.org/t/best-way-to-do-instanced-mesh-picking-in-2024/59917)

<div class="topic-metadata">

**Author:** [@theahura](https://discourse.threejs.org/u/theahura)\
**Replies:** 14\
**Last updated:** [October 18, 2024, 3:49am UTC](https://discourse.threejs.org/t/best-way-to-do-instanced-mesh-picking-in-2024/59917 "2024-10-18T03:49:25Z")

</div>

Hey folks! I am working on a project where I am rendering thousands to tens of thousands of images simultaneously using an instanced mesh. The instanced mesh has a vertex shader on it that effectively moves all of the a…

---

## [Why FPS drops alot in the GPU picking on-demand rendering](https://discourse.threejs.org/t/why-fps-drops-alot-in-the-gpu-picking-on-demand-rendering/43830)

<div class="topic-metadata">

**Author:** [@viz](https://discourse.threejs.org/u/viz)\
**Replies:** 0\
**Last updated:** [October 20, 2022, 8:26pm UTC](https://discourse.threejs.org/t/why-fps-drops-alot-in-the-gpu-picking-on-demand-rendering/43830 "2022-10-20T20:26:43Z")

</div>

Hi guys, I spent a few hours on why the fps drops alot in the gpu picking with on-demand rendering. Codepen is here: https://codepen.io/ggraphics/pen/wvjLLBM However, following the example (three.js/webgl\_interactive\_c…

---

## [Gpu Picker - Depth Buffer Issues](https://discourse.threejs.org/t/gpu-picker-depth-buffer-issues/37071)

<div class="topic-metadata">

**Author:** [@Brian\_Abdo](https://discourse.threejs.org/u/Brian_Abdo)\
**Replies:** 1\
**Last updated:** [April 17, 2022, 4:21pm UTC](https://discourse.threejs.org/t/gpu-picker-depth-buffer-issues/37071 "2022-04-17T16:21:31Z")

</div>

Hey all, Working on a gpu picker in three js and noticing that b/c we have a large clipping plane, on zoom out, readRenderTargetPixels is returning the wrong color. Its picking a mesh that’s behind another mesh. I looke…

---

## [Choosing the position returned from GPU Picking on complex model](https://discourse.threejs.org/t/choosing-the-position-returned-from-gpu-picking-on-complex-model/30201)

<div class="topic-metadata">

**Author:** [@Radioactive\_Man](https://discourse.threejs.org/u/Radioactive_Man)\
**Replies:** 0\
**Last updated:** [September 23, 2021, 4:03pm UTC](https://discourse.threejs.org/t/choosing-the-position-returned-from-gpu-picking-on-complex-model/30201 "2021-09-23T16:03:09Z")

</div>

I have a fairly complex model of an apartment with a high poly count that needs to be picked. raycasting is too slow so I am using gpu picking. I am using a pretty standard GPU picking setup that can be found here: thre…

---

## [GPU Picking inconsistent across devices](https://discourse.threejs.org/t/gpu-picking-inconsistent-across-devices/12647)

<div class="topic-metadata">

**Author:** [@deklanw](https://discourse.threejs.org/u/deklanw)\
**Replies:** 5\
**Last updated:** [February 17, 2020, 4:22pm UTC](https://discourse.threejs.org/t/gpu-picking-inconsistent-across-devices/12647 "2020-02-17T16:22:14Z")

</div>

I’m trying to implement GPU picking with Points using code I modified from the latter half of this article It’s been working fine for me on desktop, but I started testing different browsers and devices and it doesn’t…

---

## [Same scene GPU pick with Multi-view scene](https://discourse.threejs.org/t/same-scene-gpu-pick-with-multi-view-scene/12815)

<div class="topic-metadata">

**Author:** [@lxiangyun93](https://discourse.threejs.org/u/lxiangyun93)\
**Replies:** 0\
**Last updated:** [February 17, 2020, 2:58pm UTC](https://discourse.threejs.org/t/same-scene-gpu-pick-with-multi-view-scene/12815 "2020-02-17T14:58:28Z")

</div>

Hi there, hope you had a great weekend! I have set up an multi-view scene based on this: https://threejs.org/examples/?q=mult#webgl\_multiple\_views, where the left view would be the main view, and the right ones are help…

---

## [Raycasting to GPU Particle System?](https://discourse.threejs.org/t/raycasting-to-gpu-particle-system/11947)

<div class="topic-metadata">

**Author:** [@ezzzrrra](https://discourse.threejs.org/u/ezzzrrra)\
**Replies:** 1\
**Last updated:** [January 9, 2020, 3:38am UTC](https://discourse.threejs.org/t/raycasting-to-gpu-particle-system/11947 "2020-01-09T03:38:25Z")

</div>

I’m trying to create a custom interface that allows the user to select geometry that’s animated in a GPGPU particle system. So far I’m running into two problems. I’ve implemented GPU picking on the particle system which …

---

## [Get coordinates after rotation](https://discourse.threejs.org/t/get-coordinates-after-rotation/6660)

<div class="topic-metadata">

**Author:** [@KyKyPy3](https://discourse.threejs.org/u/KyKyPy3)\
**Replies:** 1\
**Last updated:** [March 20, 2019, 10:49pm UTC](https://discourse.threejs.org/t/get-coordinates-after-rotation/6660 "2019-03-20T22:49:00Z")

</div>

I use GPU picking to get hovered object. When i get active object coordinates i translate it to real world using this code: private \_translateCoordinates(x: number, y: number): any { const vector = new Vector3(x, y, …

---

## [Instances GPU picking with complex shaders](https://discourse.threejs.org/t/instances-gpu-picking-with-complex-shaders/2199)

<div class="topic-metadata">

**Author:** [@shayy](https://discourse.threejs.org/u/shayy)\
**Replies:** 7\
**Last updated:** [March 24, 2018, 7:53pm UTC](https://discourse.threejs.org/t/instances-gpu-picking-with-complex-shaders/2199 "2018-03-24T19:53:50Z")

</div>

I potentially have complex shaders to draw boxes and lines on a map. I’m looking into GPU picking each object, but somehow I always get 0 as ID: http://jsfiddle.net/hs2jbbo0/115/ Q: The vertex shader of the picking ob…
