Port instancing shaders to singleton.