Requirements & Installation
beginner start hereWorld Map Globe Ultra Edition · Start Here
Requirements
- Unity 6 (6000.0) or later.
- Universal Render Pipeline (URP).
- Linear color space. Open Project Settings > Player > Other Settings and set Color Space to Linear.
- Render Graph on for the clouds and the lens flare. In a project upgraded from an older Unity version, open Project Settings > Graphics and turn off Compatibility Mode (Render Graph Disabled).
- A graphics card with shader model 4.5 or higher.
- Internet access in the editor and in the application. See Internet Access.
The globe needs no Render Feature, so you can keep the URP asset of your project. The flight camera reads the keyboard and the mouse with the Input System package and also with the old Input Manager.
The globe also works with a renderer that draws a depth prepass, for example for ambient occlusion. The clouds and the lens flare stay behind the terrain, the buildings and the trees.
Features That Need More of the Device
The desktop graphics APIs support all the features. On a device that does not support a feature, that feature is not drawn and the rest of the globe is drawn as usual.
| Feature | The device needs |
|---|---|
| Buildings, ground markers, texts on the ground, names of countries and provinces, Sun shadows | Buffers in the vertex shader. |
| Trees | Buffers in the vertex shader, GPU instancing and indirect draws. |
| Clouds | Compute shaders, 3D textures and texture arrays, and the Render Graph. |
| Sun shadows in the haze | Compute shaders and 3D textures. |
| Lens flare | The Render Graph. |
When the trees, the buildings or the clouds cannot be drawn, the Console shows a message that says why.
Installation
- Import the package. The asset is installed in
Assets/WorldMapGlobeUltraEdition. - Check that the project uses URP and the Linear color space.
- Open the demo scene
Demos/01 Planetary Flight/PlanetaryFlight.unity. The Game view shows the planet after a few seconds, while the first tiles download.
Continue with the Quick Start.
Package Content
| Folder | Content |
|---|---|
Demos/01 Planetary Flight | The demo scene and its example scripts. See Demo Scene. |
Editor | The inspectors, the panel of the Scene view and the window that downloads buildings. |
Resources/Font | The default font of the names and of the texts on the ground, and of the names in the sky. |
Resources/Geodata | Countries, provinces and cities, built from public domain geodata. |
Resources/Shaders | The shaders of the globe. |
Resources/Sky | The star catalogue, the map of the Moon and the table of the constellations. |
Resources/Trees | The default trees, with a round crown, a conifer and a palm: their prefabs, meshes and materials, and the texture of the leaves. |
Scripts | The components of the asset. |
Settings | The URP asset and the renderer that the demo uses. |
The package contains no map images and no elevation data. They are downloaded while the camera flies.
Internet Access
The globe downloads these data for the places that the camera comes near, and keeps them in disk caches inside Application.persistentDataPath:
| Data | Cache folder | Limit |
|---|---|---|
| Imagery and elevation tiles | PlanetaryTiles | Cache Size (Mb) of Tile System Settings |
| Buildings | PlanetaryBuildings | Cache Size (Mb) of Buildings Settings |
| Land cover map of the trees | PlanetaryTrees | - |
| Roads, for Precise Tree Placement | PlanetaryRoads | The cache limit of the buildings |
Without a connection, the globe shows only the places that are already in the cache. Buildings can also come from files that you ship with the application. See Offline Areas.
Attribution property of the globe returns the credits of the sources in use, and your application must show this text. Each imagery provider also has its own terms of use: read them before you publish an application, and do not ship copies of the provider tiles with it.
Suggest an improvement
Help us improve this documentation page.