We've talked about using 360-degree media captured using 360 cameras. But what if you wanted to capture a 360 image or video from within your Unity app and share it on the internet? This could be useful for marketing and promoting your VR apps, or just simply using Unity as a content generation tool but using 360 video as the final distribution medium.
Capturing 360-degrees in Unity
Capturing cubemaps and reflection probes
Unity includes support for capturing scene views as part of its lighting engine. A call to camera.RenderToCubemap() will bake a static cubemap of your scene, using the camera's current position and other settings.
The example script given in the Unity documentation, https://docs.unity3d.com/Documentation...