Inverse hull outlines on meshes with custom normals

Godot Version

4.7

Question

A flat shaded mesh or a mesh with custom normals has separate vertices for each face so pushing vertices along their normals separate these faces.

I tried baking smooth shaded normals in object space (Blender) and using that instead but I got this weird result:

What am I doing wrong with normal baking/sampling?

Could be coordinate system inconsistency between Blender and Godot. Try swizzling sampled normal components around in the shader.

Thanks! This is what worked for me:

It’s also possible to swizzle in Blender and sample without swizzling in Godot: