Updated deferred shadows example to use new framebuffer class

This commit is contained in:
saschawillems 2016-07-16 23:27:39 +02:00
parent 47bd9d62e2
commit f3a86c292c
12 changed files with 156 additions and 458 deletions

View file

@ -22,7 +22,6 @@ 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);