Exemplo n.º 1
0
 public override void Update()
 {
     base.Update();
     SkySim.Update();
     Sky.CurrentCloudColor = Sky.CloudColor = Color.Lerp(Sky.CloudColor, DesiredCloudColor, 0.01f);
     Sky.CloudCover        = Mathf.Lerp(Sky.CloudCover, DesiredCloudCover, 0.01f);
     Sky.WindSpeed         = Mathf.Lerp(Sky.WindSpeed, DesiredWindSpeed, 0.01f);
 }
Exemplo n.º 2
0
    private void FixedUpdate()
    {
        if (SkyGradients == null)
        {
            return;
        }

        if (SkySim != null)
        {
            SkySim.Update();
        }
        SkyUpdate();
    }
Exemplo n.º 3
0
 public override void Update()
 {
     base.Update();
     SkySim.Update();
 }
 public override void Update()
 {
     base.Update();
     SkySim.Update();
     Sky.CurrentCloudColor = Desaturate(Sky.CurrentCloudColor, CloudSaturation);
 }
Exemplo n.º 5
0
 public override void Update()
 {
     base.Update();
     SkySim.Update();
     Sky.CurrentCloudColor = CloudColor;
 }