Adjust shaders to increase shadows/contrast between layers

This commit is contained in:
Andrew Sun 2025-11-16 11:34:56 -05:00
parent 8a1e0ee9bb
commit 32ce7494c0

View file

@ -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"