Blender Git Loki

Git Commits -> Revision b30a722

Revision b30a722 by Jeroen Bakker (master)
December 18, 2019, 09:56 (GMT)
Fix T72124: LookDev Sphere Rendering

Due to the refactoring of the overlay engine the draw caches were
changed. The sphere batch used to have positions and normals. After the
refactoring it didn't had the normals anymore. The normals are needed
for shading. As they were not there the look dev spheres were rendered
black.

This change add the `nor` attribute to `DRW_cache_sphere_get` batch.

Reviewed By: fclem

Differential Revision: https://developer.blender.org/D6393

Commit Details:

Full Hash: b30a722f2d6faecccd3b81efc1f0aa567064bb3a
Parent Commit: a6b1c15
Lines Changed: +9, -1

1 Modified Path:

/source/blender/draw/intern/draw_cache.c (+9, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021