Factorize unlit shader.