Example #1
0
 private void CalculateFinalTeint()
 {
     this.FinalTeint = new ColorMultiplicator(ColorMultiplicator.Clamp((this.Hue.Red + this.Shadow.Red + 128) * 2, 0, 512), ColorMultiplicator.Clamp((this.Hue.Green + this.Shadow.Green + 128) * 2, 0, 512), ColorMultiplicator.Clamp((this.Hue.Blue + this.Shadow.Blue + 128) * 2, 0, 512), true);
 }