Real Mars – Mars Terrain Generator from Real Elevation Data
- Globe explorer sample: a Mars globe with 17 missions as pins and search over the named ... Scripting: MarsRegion.Create("Curiosity"), BuildAsync(), Summary(). ... Requirements and limits:
by u3d
Price History +
Unity 6000.3.21f1, Universal Render Pipeline, Linear colour space. Built-in and HDRP are not supported.
Tested on Windows (Direct3D 11), editor and Mono player.
Terrain: six nested levels on one frame, box 4,096 m at 2 m, quality presets Standard and Fast.
Missions: 17 (12 landings). Craft models: 14, generated in code.
Terrain colliders on the two finest levels. Rocks are GPU-instanced.
Globe maps: colour 8k, normal and 16-bit height 4k.
Interface: uGUI built in code, English only.
Everything is under Assets/RealMars. Package: 41.6 MB, 190 files.
Real Mars builds Mars terrain from real elevation data for Unity 6000.3.21f1 with URP. Pick a landing site, a named feature or a pair of coordinates, and the package downloads the measured heights of that place from public USGS and NASA archives and builds Unity terrains from them.
Third-party content:
Asset uses globe maps made from the USGS Viking Global Color Mosaic under public domain; see Third-Party Notices.txt file in package for details.
Asset uses globe relief maps made from the USGS MGS MOLA elevation model under CC0; see Third-Party Notices.txt file in package for details.
Asset uses place names of the IAU / USGS Gazetteer of Planetary Nomenclature under public domain; see Third-Party Notices.txt file in package for details.
Everything else in the package (code, shaders, craft models, texts) is the publisher's own work. No third-party code, fonts, audio, meshes or photographs are included.
Features:
- Globe explorer sample: a Mars globe with 17 missions as pins and search over the named features of the IAU gazetteer. Click a site and the camera flies from orbit down to the ground in one continuous move.
- Elevation sources: MOLA (463 m) everywhere, CTX terrain models (20 m) and HiRISE terrain models (about 1 m) where one covers the place.
- Six nested terrain levels from a 197 km horizon ring down to a 128 m fine level at 0.125 m, with terrain colliders.
- Detail finer than the data (small craters, relief, rocks) is generated procedurally and can be switched off.
- Dust atmosphere with four dust seasons, and the Sun for any UTC date and time.
- 14 low-polygon craft models generated in code, placed at the landing sites.
- Editor window (Window > Real Mars) builds a place without entering play mode. Scripting: MarsRegion.Create("Curiosity"), BuildAsync(), Summary().
- Downloads go through a disk cache with request limits and an Offline switch; a place built once is rebuilt offline.
- Full C# and shader source, a manual, and Documentation/AGENTS.md for AI coding agents.
Requirements and limits:
- URP only. HDRP and the Built-in render pipeline are not supported.
- Internet access is needed the first time a place is built (for example about 32 MB for the Curiosity site). Building a place from the cache takes about 25 to 30 seconds.
- Tested on Windows (Direct3D 11) in the editor and a Mono player. Other platforms are not tested.
- Terrain heights are not included in the package; they are downloaded at run time.
- An optional on-screen credit strip for the data providers is off by default and can be removed.
Real Mars is not affiliated with or endorsed by NASA, the USGS or the IAU.
Support: cgteamorg@gmail.com