Using Normals in Mixed texture atlas

Hi, I am having some issues with using a normals in mixed texture atlas. By default, i was not able to define the texture atlas as normals due to the mixed nature (albedo, normals, roughness, AO). I was however able to define it in a material function as normal but that doesnt seem to have an impact on the outcome.

Using Normals in Normals texture atlas works fine but not for the mixed texture atlas. Has anyone tried this before and managed to resolve it?

Mixed texture atlas

Material function to extract and convert.

result from mixed texture atlas

result from direct plugging in the normals

You need to convert the result for normals from 0 to 1 range into -1 to 1 range.

On a side note, packing things into atlas like that is in many respects inferior to keeping texture standalone and makes no sense.

Thanks Deathrey. The solution worked perfectly.

pseudo : (normals x 2 ) -1;

The reason that i am doing it was for higher fake image quality. Texture atlas allows multiplication on the image which would make the texture appeared sharper. Whereas a normal unwrap would be blurry at the short distance. The shortcoming that i would see was the complexity of the material and only certain objects would allow such basic texturing. Thanks for the help!