commit 979e8253cf2880b74c2b63ffad5bb7bd5fadbd89
parent c9cfe15a1bb2f8531901768fb943578b104853c9
Author: William Casarin <jb55@jb55.com>
Date: Wed, 31 Oct 2018 03:19:47 -0700
lower energy for now
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/update.c b/src/update.c
@@ -241,7 +241,7 @@ void resize_fbos(struct game *game, int width, int height) {
static void day_night_cycle(float time, struct resources *res) {
float val = time;
float intensity = vec3_dot(res->light_dir, V3(0.0, 0.0, 1.0));
- intensity = clamp(intensity, 0.0, 0.8);
+ intensity = clamp(intensity, 0.0, 0.6);
float light_pos[3];
res->sun_color[0] = 1.0;