C# implementation screen shading