示例#1
0
        public Vector3 GetNightSpecularIterpolatedColor(float x)
        {
            var newAmbient = LightInterpolation.InterpolateColor(
                NightPhase.DiffuseLight,
                MorningPhase.DiffuseLight,
                NightPhase.PhaseTime,
                99.0f,
                x);

            return(newAmbient);
        }
示例#2
0
        public Vector3 GetMorningSpecularIterpolatedColor(float x)
        {
            var newAmbient = LightInterpolation.InterpolateColor(
                MorningPhase.DiffuseLight,
                DayPhase.DiffuseLight,
                MorningPhase.PhaseTime,
                DayPhase.PhaseTime,
                x);

            return(newAmbient);
        }
示例#3
0
        public Vector3 GetEveningSpecularIterpolatedColor(float x)
        {
            var newAmbient = LightInterpolation.InterpolateColor(
                EveningPhase.DiffuseLight,
                NightPhase.DiffuseLight,
                EveningPhase.PhaseTime,
                NightPhase.PhaseTime,
                x);

            return(newAmbient);
        }
示例#4
0
        public Vector3 GetDayDiffuseIterpolatedColor(float x)
        {
            var newAmbient = LightInterpolation.InterpolateColor(
                DayPhase.DiffuseLight,
                EveningPhase.DiffuseLight,
                DayPhase.PhaseTime,
                EveningPhase.PhaseTime,
                x);

            return(newAmbient);
        }