Rivers, terrain rendering improvements

Posted by Oleksandr on May 19, 2018

May 2018 development update (v4) introduces rivers, and contains many improvements and tweaks for the terrain rendering.


Rivers flow between tiles, make the world more appealing visually, and affect gameplay. Riverbank areas get additional 1 food (and a minimum of 2 food), and yield at least 1 production and 1 trade. This can make even desert or tundra tiles useful in presence of a river. Moving units across rivers takes all of their remaining movement points, unless there is a road (i.e. bridge). Melee attacks across rivers have a 50% penalty. Additional gameplay effects are likely to come in the future.

Interesting facts about technical implementation of rivers:

Other visual improvements

Oceans now have two levels of depth: shallow (near the coast), and deep. Ocean floor now has a varied non-flat surface. Transition from ocean to unexplored tiles is now smooth without a visible geometry break of the seabed mesh.

Unexplored tiles themselves are covered with soft gray shading, which makes it easier to see world boundaries and where your visible area is in it. Also if you try to scroll too far away from the world, camera will automatically bounce back, so that you never get lost in the dark.

Forests now use three different tree meshes depending on the climate zone, with gradual transition between them. Warm areas use palm trees, cold areas use pine trees. Terrain surface shader has been tweaked to increase detail at a close zoom level.

All important changes since v3 release (January 2018)

NOTICE Browser feature required for Statebuilder to work out of the box (SharedArrayBuffer) have been unfortunately disabled by all major browser vendors in January after the Spectre CPU vulnerability was discovered, since apparently it can be used to implement high-precision timers needed for the exploit. This means that for now users have to manually enable the option to try the game. Google Chrome is expected to re-enable it by default soon (relevant bug).

The game works directly in the browser!
You can try it right now.

Play Now Demo

Subscribe to development updates:

Send Feedback

Recent posts

Introducing support for mobile devices
Posted by Oleksandr on June 26, 2019

Naval units, new demo mode features
Posted by Oleksandr on March 3, 2019

Rivers, terrain rendering improvements
Posted by Oleksandr on May 19, 2018

Combat mechanics update, supply units, military ranks
Posted by Oleksandr on January 1, 2018