From 50a4f8cc502428b42a241260a7a488750b452701 Mon Sep 17 00:00:00 2001 From: Yukari Hafner Date: Thu, 16 Jan 2025 11:51:44 +0100 Subject: [PATCH] Fix --- debug.lisp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debug.lisp b/debug.lisp index 36beadef..76fa6c6b 100644 --- a/debug.lisp +++ b/debug.lisp @@ -762,6 +762,6 @@ void main(){ // Basic phong lighting using view-space calculations. float diffuse = dot(normal, -light); float specular = clamp(pow(max(dot(vec3(0,0,1), reflect(light, normal)), 0.0), 32), 0.0, 0.5); - float light = mix(1.0, clamp(diffuse + 0.2, 0.2, 0.9), lighting); + float light = mix(1.0, clamp(diffuse*0.7 + 0.2, 0.2, 0.9), lighting); color = vec4(v_color * light + (specular * lighting), 1); }")