Blender Git Loki

Git Commits -> Revision 1e53606

Revision 1e53606 by Jeroen Bakker (vr_scene_inspection)
February 20, 2020, 12:00 (GMT)
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: Clment Foucault

Differential Revision:

Commit Details:

Full Hash: 1e53606603f6b8cbcc9bc799d72e0b090ce28ee4
Parent Commit: 20cdf4f
Committed By: Julian Eisel
Lines Changed: +54, -17

Tehnyt: Miika HämäläinenViimeksi p?ivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2020