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:
authorJeroen Bakker <jeroen@blender.org>2020-02-10 17:29:16 +0300
committerJeroen Bakker <jeroen@blender.org>2020-02-17 16:59:30 +0300
commite2e2a98573e060cf26ab5141550dcd64838afc40 (patch)
tree0c2bd99642340d1ce7a51c617f3cad4dfc56d886 /source/blender/makesrna/intern/rna_wm_api.c
parentd5d235c44facaf6dcb7b8242e2367901f7c78bd2 (diff)
Fix T73518: Normal Overlay
This change will not render the normals for faces that are hidden. Before we had instance drawing the hidden faces were registered in the index buffer. During the overlay refactoring the rendering was migrated to instance rendering. Instance rendering does not use the index buffer so the data was ignored. This patch stored the normal visibility in the .w part of the normal or for face normals it will set the normal to zero. The shader looks at this and renders the normals fully transparent when detected. Reviewed By: Clément Foucault Differential Revision: https://developer.blender.org/D6798
Diffstat (limited to 'source/blender/makesrna/intern/rna_wm_api.c')
0 files changed, 0 insertions, 0 deletions