Added shading with Bernstein Polynomials.