Split generic functionality from RasterizeShader to ShaderGenerator
Implement gradient rendering