Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJarrett Johnson <jarrett.johnson>2021-11-01 13:24:50 +0300
committerClément Foucault <foucault.clem@gmail.com>2021-11-01 13:41:13 +0300
commit7dd84f05aa8a8bea9f640f64c8b92846b2c21046 (patch)
treeb5da1736416a4d8de3375e115e3a69fcf220b523 /intern/cycles
parentfe4400121551e06706cdf06f05b8d8d30f54c64b (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 'intern/cycles')
0 files changed, 0 insertions, 0 deletions