Add support for generated shaders with fog