diff --git a/shaders/shader_sun.frag b/shaders/shader_sun.frag index 4697951..de47094 100644 --- a/shaders/shader_sun.frag +++ b/shaders/shader_sun.frag @@ -21,7 +21,7 @@ void main() FragColor = vec4(texture + texture * coef, 1.0); float brightness = dot(FragColor.rgb, vec3(0.2, 0.7, 0.07)); - if(brightness > 0.7) + if(brightness > 0.2) BrightColor = vec4(FragColor.rgb, 1.0); else BrightColor = vec4(0.0, 0.0, 0.0, 1.0); diff --git a/src/main.cpp b/src/main.cpp index 329cbdd..5a78149 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -478,7 +478,7 @@ void init() Light l1; l1.position = sunPos; l1.color = glm::vec3(0.8f, 0.8f, 0.7f); - l1.intensity = 2; + l1.intensity = 7; lights.push_back(l1); Light l2;