Vertex tangents don't require normalMap flag anymore;

This commit is contained in:
bjorn 2023-03-31 19:23:20 -07:00
parent 7c557132f9
commit a2b12c9e7c
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}