mirror of https://github.com/bjornbytes/lovr.git
Vertex tangents don't require normalMap flag anymore;
This commit is contained in:
parent
7c557132f9
commit
a2b12c9e7c
|
@ -383,7 +383,7 @@ void main() {
|
|||
if (flag_materialColor) Color *= Material.color;
|
||||
if (flag_vertexColors) Color *= VertexColor;
|
||||
|
||||
if (flag_normalMap && flag_vertexTangents) {
|
||||
if (flag_vertexTangents) {
|
||||
Tangent = NormalMatrix * VertexTangent;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue