mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-01-30 12:50:50 -07:00
Adjust shaders to increase shadows/contrast between layers
This commit is contained in:
parent
8a1e0ee9bb
commit
32ce7494c0
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue