diff --git a/src/libvgcode/src/Shaders.hpp b/src/libvgcode/src/Shaders.hpp index 841b714ebd..d6e903ff8b 100644 --- a/src/libvgcode/src/Shaders.hpp +++ b/src/libvgcode/src/Shaders.hpp @@ -155,7 +155,11 @@ static const char* Options_Vertex_Shader = "const float light_front_diffuse = 0.6 * 0.3;\n" "const float ambient = 0.3;\n" "const float emission = 0.25;\n" +#ifndef _WIN32 +"const float scaling_factor = 0.75;\n" +#else "const float scaling_factor = 1.5;\n" +#endif "uniform mat4 view_matrix;\n" "uniform mat4 projection_matrix;\n" "uniform samplerBuffer position_tex;\n"