Skip to content

Bunkerbewohner/threejs-hex-map

Repository files navigation

threejs-hex-map

Build Status

A simple 3D hexagonal terrain map based on three.js.

Screenshot

Overview

  • hexagonal tiles with water, flat land, hills, mountains, rivers, trees and coast
  • one texture atlas each for terrain textures, river tiles, and coast tiles
  • blending mask texture for transitions between tiles
  • two-tier fog of war like in Civilization

Usage

For an example check out the code in examples/random. To test it in the browser simply npm start and open http://localhost:3000/examples/random/.

About

A simple 3D hexagonal terrain map based on three.js

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages