From 32ce7494c0c04403cc130fd6675dfc6ab301ea36 Mon Sep 17 00:00:00 2001 From: Andrew Sun Date: Sun, 16 Nov 2025 11:34:56 -0500 Subject: [PATCH] Adjust shaders to increase shadows/contrast between layers --- src/libvgcode/src/Shaders.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvgcode/src/Shaders.hpp b/src/libvgcode/src/Shaders.hpp index d6e903ff8b..826f9a4805 100644 --- a/src/libvgcode/src/Shaders.hpp +++ b/src/libvgcode/src/Shaders.hpp @@ -19,8 +19,8 @@ static const char* Segments_Vertex_Shader = "const float light_top_specular = 0.6 * 0.125;\n" "const float light_top_shininess = 20.0;\n" "const vec3 light_front_dir = vec3(0.6985074, 0.1397015, 0.6985074);\n" -"const float light_front_diffuse = 0.6 * 0.3;\n" -"const float ambient = 0.3;\n" +"const float light_front_diffuse = 0.6 * 0.2;\n" +"const float ambient = 0.2;\n" "const float emission = 0.15;\n" "const vec3 UP = vec3(0, 0, 1);\n" "uniform mat4 view_matrix;\n"