Maps HDRI - Capi-Metaverse/Template GitHub Wiki
An HDRI, which stands for High Dynamic Range Image, is a 360° image that is wrapped around an image or even a 3D model for lighting and background purposes. It is created by mixing several images of the same scene with different exposures.
-
RenderDoc 1.25 (Do not use a newer version than 1.25!)
-
Google Chrome (last version) — or Microsoft Edge
Install the required software versions.
Once all has been installed, open Blender, create a new project and open the tab Edit > Preferences > Add-ons, press the Install button, then browse to the zip file (Maps Models Importer) and select its checkbox to enable it.
Simultaneosly, create a shortcut for Chrome that points to:
C:\Windows\System32\cmd.exe /c "SET RENDERDOC_HOOK_EGL=0 && START "" ^"C:\Program Files (x86)\Google\Chrome\Application\chrome.exe^" --disable-gpu-sandbox --gpu-startup-dialog"
To obtain the Map we need to go through the following steps:
-
Start RenderDoc, go to Tools > Settings and check Enable process injection (restart required), restart RenderDoc then click File > Inject into process;
-
Run the shortcut created;
-
Do NOT press Ok on the dialog box yet;
-
In RenderDoc, search for chrome’s GPU process and inject into it (Double click on the ID or click inject with the ID selected in the bottom right) (you may use the search field);

-
Press OK in the chrome dialog;
-
Go to Google Maps or Google Earth in satellite view, and take a capture using Print Screen while moving (not needed for google earth) in the viewport, check that you have the debug info in the top left, if you don’t then submit an issue here;
-
In RenderDoc, save the capture as an rdc file
-
In Blender, go to File > Import > Google Maps Capture an choose your capture file.
To create the HDRI in Blender we need to go through the following steps:
-
Add lights (Optional);
-
Add sky background by going to World > Surface > Color and selecting Environment Texture or Sky Texture (Optional);

-
Set the Camera in the center of the Environment;
-
Go to Camera > Lens and modify Camera Properties. Change the Lens type to Panoramic and the Panorama Type to Equirectangular;

-
Go to Scene > Format and modify the Aspect ratio to 2048x1024 px and the resolution to 400%;

-
Go to Render Properties and change the Render Engine to Cycles. Then go to Sampling and set the Render Samples to 25 and the Time Limit to 0 sec. Also turn on the Denoise;

-
Save the Scene and Render the image (shortcut F12);
-
Once the Render has finished, go to Image > Save As, set the File Format to Radiance HDR and save it;
To insert the HDRI in Unity as a Skybox we need to go through the following steps:
-
Import the HDRI into Unity;
-
Select the texture and change the Texture Shape to Cube. Once changed, go down and press the Apply button;
-
Create a new Material with the Shader Skybox/Cubemap and drag the HDRI to the Cubemap (HDR) parameter of the material. If you want, you can change the rotation or the exposure in the material;
-
In the scene where you want to apply the Skybox, go to Window > Rendering > Lighting. There go to Environment and drag the material to the parameter Skybox Material;

And with that, the Skybox created will appear in the scene!
Here you’ll find links related to the Map Importing and HDRI creation: