From 1546a56a4aab7e3498af10575482907aee38028c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dominik=20Madar=C3=A1sz?= Date: Mon, 11 Sep 2023 13:41:56 +0200 Subject: [PATCH] sponza demo slower cycle --- demos/99-sponza.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/demos/99-sponza.c b/demos/99-sponza.c index 2ddf155..c5ad108 100644 --- a/demos/99-sponza.c +++ b/demos/99-sponza.c @@ -39,7 +39,7 @@ int main() { // initialize SH coefficients from rayleigh skybox if (flag("--mie") && sky_update_until <= window_time()) { shader_bind(sky.program); - shader_vec3("uSunPos", vec3(0, (cosf((float)window_time())*0.3)+0.2, -1)); + shader_vec3("uSunPos", vec3(0, (cosf((float)window_time()*0.25)*0.3)+0.2, -1)); skybox_mie_calc_sh(&sky); sky_update_until = window_time() + 0.02; }