Blender Git Commit Log

Git Commits -> Revision 7fb7d20

Revision 7fb7d20 by Clément Foucault (master)
March 13, 2019, 22:15 (GMT)
Eevee: Fix black mesh when tangent is not present

In this case, the generic vertex attribute is {0,0,0,1}. So we look for
this case.

This fixes black text objects with a normal map applied. Also this could
help porting sculpt mode drawing to Eevee without supporting normal
mapping.

Note that will just fix black meshes due to T61870 but objects will not
show their normal map. So it's not a fix for this issue.

Commit Details:

Full Hash: 7fb7d20c19e2a022cfc776b5fd98f4850ba83ebc
Parent Commit: d0fb0d0
Lines Changed: +7, -1

2 Modified Paths:

/source/blender/gpu/intern/gpu_codegen.c (+1, -1) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+6, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021