Alright now I understand. I just have to store spec, roughness and ambient occlusion in the color channels. Thanks