Skip to content
Devlog

Devlog #3 • Shaping the Landscape

This week the terrain stopped being an experiment: more natural mountains and valleys, smooth surfaces, and ground textures that don't visibly repeat.

6 December 20252 min read

This week the terrain went from experiment to something I can actually use. I reworked how the land is shaped, made the surface smooth, and fixed how the ground looks up close.

Shaping the Land

Random doesn’t mean natural. Plain random hills look like lumpy noise, so I combined several layers of different sizes. Mountains now rise with jagged peaks and valleys flatten out. The land even looks like water has run over it, and there is no erosion at all yet. It’s starting to look like geography, or some weird abstract art.

Test render of combined noise layers Test render of a distorted noise map with mountain ridges and valleys

Smooth Surfaces

The terrain starts as blocks and gets turned into smooth surfaces. That’s always satisfying to watch. The hard part this week was making it fast enough for a huge world:

  • Loading: The world loads in pieces now, without stuttering.
  • Lighting: Slopes are shaded smoothly, so light follows the curves of the ground.
  • Gaps: Pieces of land with different levels of detail no longer show cracks between them.
Wireframe test render of the terrain mesh Test render of the smooth terrain surface Test render of terrain elevation Test render showing terrain pieces joining without gaps Test render of the seams between levels of detail Test render of terrain with smooth shading

Ground Textures

With the shape stable, I moved on to how the ground looks. Normal texturing doesn’t work well here: textures stretch on cliffs and repeat obviously on flat ground.

Test render of texturing on a steep cliff

I changed how the textures are applied, so cliffs look like cliffs and grass looks like grass at any angle. I also break up the repeating pattern. I’m not sure I got everything right, but it looks good.

Test render of ground texture without a visible repeating pattern Test render of materials blending by slope

The ground now looks like one continuous surface instead of a grid of grass tiles. Rock appears on steep slopes and moss and grass on flat areas, without any hand painting. Blending between different ground materials isn’t done yet. That’s for another day.

It’s easy to make a landscape look like a video game. It’s harder to make it look like a place.

Terrain preview with natural material transitions Landscape preview showing distant mountain ranges

The terrain is generated while you play. That was painful to get working, but worth it.

Test render of a generated landscape

Next Steps

  • Draw distance: See further without the game slowing down.
  • Biomes: Let temperature and humidity change the vegetation (or better, have any vegetation at all…)

Comments

  1. Loading comments...