diff options
author | Jarrett Johnson <jarrett.johnson> | 2021-11-01 13:24:50 +0300 |
---|---|---|
committer | Clément Foucault <foucault.clem@gmail.com> | 2021-11-01 13:25:23 +0300 |
commit | a50f8b3fd8e74d7cc0f2224f110c85493acee1cc (patch) | |
tree | bd030abe1e99b841c4a5307a21fd6e6af170216c /release | |
parent | 8379eefafbaed059c210c6ba429e48bcae4cf2ab (diff) |
Pointcloud selection support
This patch adds support for selecting pointclouds.
Since pointclouds were not properly drawn to the selection buffer (as diagonsed by output from `glReadPixels` and Renderdoc), they were not able to be selectable by depth picking or occlusion queries. In `basic_engine`, objects were rendered with a shader which draws to a depth buffer but only assumes a single position vertex attribute. Pointclouds, though, require at least another vertex attribute `pos_inst` which provides the instance offsets. Thus, this patch adds another shader variant for pointclouds which supports these two attributes and renders the points appropriately.
{F11652666}
Addresses T92415
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D13059
Diffstat (limited to 'release')
m--------- | release/scripts/addons | 0 |
1 files changed, 0 insertions, 0 deletions
diff --git a/release/scripts/addons b/release/scripts/addons -Subproject f2a08d80ccd3c13af304525778df3905f95bd44 +Subproject 67f1fbca1482d9d9362a4001332e785c3fd5d23 |