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; }