diff --git a/src/default_shaders.cpp b/src/default_shaders.cpp index 13c7eb4..afeecea 100644 --- a/src/default_shaders.cpp +++ b/src/default_shaders.cpp @@ -62,7 +62,8 @@ void main() for (uint i = 0u; i < num_lights; i++) { vec3 surfaceToLight = lights[i].position - fragPosition; - float brightness = dot(normal, surfaceToLight) / (length(surfaceToLight) * length(normal)); + //float brightness = dot(normal, surfaceToLight) / (length(surfaceToLight) * length(normal)); + float brightness = dot(normal, surfaceToLight) / length(surfaceToLight); totalBrightness += brightness; }