Utility addon that bakes grayscale curvature maps from a mesh.
Instantiate the curvature_baker.tscn
scene and call the bake_curvature_map
function on it. It takes a mesh, the line thickness and the surface to be used.
The model with the curvature map applied:
The baked curvature texture:
Sometimes the angle isn't correct and black or white lines appear where they shouldn't.