Photoshop supports the following 3D file formats for export:
These file formats are supported by most of the 3D computer graphics programs
like 3D Studio Max, Cinema 4D, zBrush, Blender or Maya.
Save the texture and grayscale heightmap as PNG file image set to create and edit your own 3D maps in common 3D programs (e.g. Blender, MAYA, 3D Max, Cinema4D, ZBrush) and game engines (e.g. Unity, Unreal)