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 14:10:34 +0300
commit81bd49d4fea41f6e569f3778724b33f15e95f853 (patch)
tree75ef3b17c7b0a602e7218b87076f98588ecb2930 /intern/cycles/device/hip
parent894096a5287f7d25a02338dd5188b67cb9328851 (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/device/hip')
0 files changed, 0 insertions, 0 deletions