Normal orientation, don't pause by default
This commit is contained in:
parent
d139e90f66
commit
48ecef07fa
3 changed files with 1 additions and 1 deletions
|
|
@ -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.
Loading…
Add table
Add a link
Reference in a new issue