we use the LabsMapsBaker in Houdini 20.0.500 to bake normal maps from highpoly to lowpoly and export it to GLB. Viewing the GLB in a web viewer it shows artifacts like this:
The normal map itself looks fine. So I made some tests and I think the problem is that the GLB export will convert the 16bit normal map (output of the baking) to 8bit which will result in the shown artifacts.
I get the same problem when I export the GLB from Blender - so looks like the normal map needs to be 8bit.
I converted the 16bit normal map with photoshop to 8bit and exported again - the result now looks fine:
So I added a convert node to the cops_baking inside the MapsBaker to convert the given input to 8bit. However, the output of this normal map will result in the same (bad) output.
So in summary: The normal manually converted from 16 to 8Bit in photoshop is working with GLB output, while the conversion to 8bit with a convert node in the cops_baking network is causing problems.
Any ideas?


