In this Blender tutorial I will show you how to bake displacement maps.
Procedural Sci-Fi Metal:
i tried this method with a cube and subdivision surface modifier. the result was very close but not exact. the result deviates as the number of topology increase
it doesn’t happen if the object is shade smooth