Exporting cavities as a texture on blender

This was already asked in another DevForum topic, do make sure to search before you open new topics.