Implementing two-sided shading