global variable shading