diff --git a/u08-normalmap/fragmentShader.glsl b/u08-normalmap/fragmentShader.glsl index 25335f3..f60c782 100644 --- a/u08-normalmap/fragmentShader.glsl +++ b/u08-normalmap/fragmentShader.glsl @@ -28,6 +28,7 @@ void main() { vec4 color = texture(myTexture, textureCoordinate); vec3 norm = normalize((texture(myNormal, textureCoordinate).xyz * 2 - vec3(1,1,1))); + // norm = normalize(normal); vec3 lightDir = TBN * normalize(lightPosition - fragmentPosition); vec3 eyeDir = TBN * (-normalize(fragmentPosition));