summary refs log tree commit diff
path: root/res
diff options
context:
space:
mode:
authoriurii <[email protected]>2024-09-05 18:07:25 +0200
committeriurii <[email protected]>2024-09-05 18:07:25 +0200
commit1a771d9a157bebffad42573d114240a4bfe7f611 (patch)
tree53c9d496a034502458f0ab51d2de97991f0c0225 /res
parent1e34058ac8c5929e9dedb544b9a1c84a6c13435a (diff)
downloadfunhalla-1a771d9a157bebffad42573d114240a4bfe7f611.tar.gz
fixed specular
Diffstat (limited to '')
-rw-r--r--res/shaders/colors.fs2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/shaders/colors.fs b/res/shaders/colors.fs
index 2184d03..83733cf 100644
--- a/res/shaders/colors.fs
+++ b/res/shaders/colors.fs
@@ -27,7 +27,7 @@ void main() {
   vec3 reflect_dir = reflect(-light_dir, norm);
   float spec = pow(max(dot(view_dir, reflect_dir), 0.0), 32);
   vec3 specular = specular_strength * spec * light_color;
-  
+
   vec3 result = (ambient + diffuse + specular) * object_color;
   FragColor = vec4(result, 1.0);
 }