Skip to content

Commit

Permalink
made night time less dark - it was annoying
Browse files Browse the repository at this point in the history
  • Loading branch information
fogleman committed Jan 2, 2014
1 parent 7fc4d49 commit 2e38446
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shaders/block_fragment.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ void main() {
}
float df = cloud ? 1.0 - diffuse * 0.2 : diffuse;
float ao = cloud ? 1.0 - (1.0 - fragment_ao) * 0.2 : fragment_ao;
vec3 light_color = vec3(daylight * 0.5);
vec3 ambient = vec3(daylight * 0.3 + 0.2);
vec3 light_color = vec3(daylight * 0.25 + 0.25);
vec3 ambient = vec3(daylight * 0.25 + 0.25);
vec3 light = ambient + light_color * df;
color = clamp(color * light * ao, vec3(0.0), vec3(1.0));
vec3 sky_color = vec3(texture2D(sky_sampler, vec2(timer, fog_height)));
Expand Down

0 comments on commit 2e38446

Please sign in to comment.