Option 1: Augmented Reality. Bake occlusion and lighting, shadow into texture image. Prepare obj file for real time Augmented Reality.
source file from an old tutorial: ambient occlusion.
Option 2. Web3D. create materiel before baking “color and light”. Make sure bake shadow option is on. then add model and texture to p3d.in.