Skip to content

crempp/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

No packages published

Languages

  • TypeScript 99.2%
  • Other 0.8%