Shaders: use global constants