World normals don't account for right-handed coord system

Normals output by the geometry buffer are incorrect when using world-space normals, right-handed coord system and a material with a normal map.

Here’s a playground where I’m trying to show the issue.

I wonder if the best place to fix this issue is in the cotangent_frame function (since the issue only happens with normal maps)?

1 Like

cc @Evgeni_Popov

Here’s the fix: