mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-17 10:32:20 +00:00
feat: Reduce size of option marker in G-Code preview
This commit is contained in:
committed by
Andrew Sun
parent
7de779a0e0
commit
8a1e0ee9bb
@@ -155,7 +155,11 @@ static const char* Options_Vertex_Shader =
|
|||||||
"const float light_front_diffuse = 0.6 * 0.3;\n"
|
"const float light_front_diffuse = 0.6 * 0.3;\n"
|
||||||
"const float ambient = 0.3;\n"
|
"const float ambient = 0.3;\n"
|
||||||
"const float emission = 0.25;\n"
|
"const float emission = 0.25;\n"
|
||||||
|
#ifndef _WIN32
|
||||||
|
"const float scaling_factor = 0.75;\n"
|
||||||
|
#else
|
||||||
"const float scaling_factor = 1.5;\n"
|
"const float scaling_factor = 1.5;\n"
|
||||||
|
#endif
|
||||||
"uniform mat4 view_matrix;\n"
|
"uniform mat4 view_matrix;\n"
|
||||||
"uniform mat4 projection_matrix;\n"
|
"uniform mat4 projection_matrix;\n"
|
||||||
"uniform samplerBuffer position_tex;\n"
|
"uniform samplerBuffer position_tex;\n"
|
||||||
|
|||||||
Reference in New Issue
Block a user