mevoroth/Skydome — pull request #1 by gb96 (2014-07-04 05:53:48+00:00)
Title: aScattering2.0.shader cloud animation loops

Clouds seemed to all move out of sight after a few minutes (depending on cloudSpeed parameter values) leaving a clear sky.
This change introduces an animation loop using a general sawtooth periodic function of the form: f(t) = a * (t/a - floor(t/a)) + b:

1. start with clear sky, then
2. cloud textures pass over, then
3. back to clear sky, then
4. loop back to step 1.