Normal orientation, don't pause by default

This commit is contained in:
saschawillems 2016-07-04 19:28:43 +02:00
parent d139e90f66
commit 48ecef07fa
3 changed files with 1 additions and 1 deletions

View file

@ -22,6 +22,7 @@ void main()
// Calculate normal in tangent space
vec3 N = normalize(inNormal);
N.y = -N.y;
vec3 T = normalize(inTangent);
vec3 B = cross(N, T);
mat3 TBN = mat3(T, B, N);

Binary file not shown.