medfall

A super great game engine
Log | Files | Refs

commit 0715e361cd9e81eefb21d9650376b0749ba5b0d0
parent f39bc1a02176b4b7effe50d7d8d1a581c8288f5f
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Jul 10 22:43:00 +0300

Slightly blue sky at dawn

Diffstat:
shaders/skybox.glsl | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shaders/skybox.glsl b/shaders/skybox.glsl @@ -65,7 +65,7 @@ void main() { vec3 night_colour = mix( night, sunny, sun_intensity ); - colour = vec4( mix( mix( night_colour, dawn * hdot( npos, sun_dir ), night_to_dawn ), day_colour, dawn_to_day ), 1.0 ); + colour = vec4( mix( mix( night_colour, dawn * hdot( npos, sun_dir ), night_to_dawn ), day_colour, dawn_to_day * 0.95 + night_to_dawn * 0.05 ), 1.0 ); colour = mix( colour, vec4( sunny, 1.0 ), sun_intensity ); }