Can we bake Viewport Information Into a Texture?

Hello everyone. How can I get this Viewport shading information for Unity 3D? I can make AO information but don’t know how to make Cavity information.