Пример #1
0
        public override Color3 colorShadow(Color3 existing, Hit h, double factor)
        {
            switch (shader)
            {
            case ProcShading.Circle:
                return(Color3.shade(mapCircle(h), factor));

            case ProcShading.Texture:
                return(Color3.shade(mapTexture(h), factor));

            default:
                return(Color3.shade(mapSquare(h), factor));
            }
        }
Пример #2
0
 public override Color3 colorShadow(Color3 existing, Hit h, double factor)
 {
     return(Color3.shade(existing, factor));
 }