
Rendering & screenshots · Java & Bedrock · Intermediate
How to Generate a Sun-Lit Top-Down Relief Map With Dramatic Terrain Shadows
Standard flat maps often make epic mountain ranges and deep valleys look dull because they lack visual depth. By combining an orthographic top-down projection with a low-angle sunlight source in our browser-based World Renderer, you can create a dramatic shaded-relief map where every cliff and build pops off the screen. Because our tools run entirely inside your browser, your massive world files are processed locally and never upload to a server.
What you need
- A Minecraft Java Edition save folder (containing level.dat and the region folder) or a Bedrock Edition world folder/archive (containing the db folder)
- A backup copy of your world folder before accessing or manipulating any files
- A desktop web browser with hardware acceleration enabled for smooth rendering
- Our site's World Renderer tool
Step by step
1Load Your World into the World Renderer
Always create a backup of your world folder before opening its files in any tool to ensure your save data stays safe. Open the World Renderer on our site and click to open your world folder or .zip archive. For Java Edition, the tool will read the region folder containing your .mca Anvil files, while for Bedrock Edition it will parse the LevelDB data inside the db folder. Wait a moment for the initial chunks around your world spawn to load into the viewport.
Tip: If you only want to map the Overworld in Java Edition, you can select just the level.dat and the main region folder rather than also loading DIM-1 and DIM1.
2Set the Camera to Top-Down Orthographic Projection
Locate the camera or view settings panel inside the World Renderer and switch the projection mode from Perspective to Orthographic (or Top-Down). Next, set the camera pitch straight down to 90 degrees so you are looking directly at the ground. Orthographic projection removes perspective distortion, ensuring that tall mountains on the edge of the image do not lean outward and that every chunk is drawn at the exact same scale.
Tip: Align your camera rotation to cardinal north (0 degrees yaw) so your relief map matches standard in-game map items.
3Lower the Sun Elevation for Long Shadows
Open the lighting or environment controls in the World Renderer and look for the Sun Elevation (or Altitude) slider. Lower this angle to somewhere between 15 and 35 degrees above the horizon. A high noon sun at 90 degrees casts no horizontal shadows from a top-down view, whereas a low morning or evening sun forces every block elevation change to cast a crisp directional shadow across neighboring blocks.
Tip: If you are unsure of the best angle for your specific terrain, test 25 degrees first—steep amplified worlds usually need a higher angle (around 35 to 40 degrees) so valleys are not completely blacked out.
4Adjust Sun Azimuth to Achieve Cartographic Relief
Find the Sun Azimuth (or Direction) slider, which spins the sun around the horizon from 0 to 360 degrees. Set the light source to shine from the top-left of your screen (typically an azimuth around 315 degrees if north is at the top). Human eyes naturally interpret light coming from the upper-left as raised terrain; lighting from the bottom-right can cause an optical illusion called relief inversion, where canyons accidentally look like mountain ridges.
5Balance Ambient Light and Export Your Map
Before capturing the final image, adjust the Ambient Light (or shadow darkness) slider so that the shaded sides of mountains still show their block colors rather than turning solid black. Increase your render radius or chunk loading bounds to cover the entire area you want mapped, waiting for all chunks from the region or db folder to finish meshing. Once every chunk is crisp and lit, click the export or screenshot button in the World Renderer to save your high-resolution relief map directly to your device.
Tip: Temporarily lower the render resolution while tweaking lighting sliders for fast feedback, then set it back to maximum right before exporting.
How it works
To generate a shaded relief map, the World Renderer first parses your world's raw storage format locally in your browser's memory. In Java Edition, it reads the .mca region files and decompresses each chunk's Section tags to find the highest non-air blocks (often assisted by the WORLD_SURFACE heightmap array stored in the chunk NBT). In Bedrock Edition, it iterates through the LevelDB key-value pairs inside the db folder to reconstruct chunk sub-chunks and block palettes.
Once the 3D surface geometry is built from block states and biome tint tables, the renderer uses a virtual directional light to simulate the sun. By casting shadow rays across the voxel height grid at your chosen elevation and azimuth angles, the shader calculates which block faces are in direct sunlight and which are occluded by higher terrain nearby. Because the camera uses an orthographic matrix, parallel light rays and parallel view rays combine to produce a true-to-scale cartographic map with authentic three-dimensional depth cues.
Common mistakes
- Leaving the sun elevation at 90 degrees (directly overhead), which eliminates all horizontal shadows and results in a completely flat-looking map.
- Setting the sun azimuth so light comes from the bottom of the screen, which triggers the relief inversion optical illusion and makes valleys look like mountains.
- Using a perspective camera instead of top-down orthographic projection, causing tall builds and peaks near the screen edges to tilt and obscure the ground behind them.
- Setting the sun elevation too low (under 10 degrees) in hilly biomes, which casts overly long shadows that plunge entire neighboring builds and valleys into pitch darkness.
FAQ
Why are some areas of my exported map empty or missing chunks?
Minecraft only generates and saves chunks in the region or db folder that a player has actually visited within their render distance. Unexplored areas do not exist in your save files yet and will appear blank in the World Renderer.
Does loading a huge multi-gigabyte world upload my personal save to the internet?
No. The World Renderer processes your level.dat, .mca files, and db files locally using your own computer's memory and graphics hardware inside the browser; your files never leave your device.
Why do my water lakes and roofs look overly dark in the shadows?
If your ambient light setting is too low, any block face turned away from the directional sun receives almost zero illumination. Raise the ambient or sky light slider slightly to brighten shadowed slopes.
By combining a 90-degree orthographic camera with a 15-to-35-degree sun elevation coming from the upper-left in our browser-based World Renderer, you can turn any Java or Bedrock world into a striking 3D shaded-relief map.