Fast, modular terrain deployment for WebGL/Three.js games using RogueEngine.
-
Massive Terrain Support: Handles large heightmaps (e.g., 15,000×10,000).
-
Fast Load: Renders a 3,000×3,000 terrain in under 3 seconds.
-
Auto-Texturing Shader: Dynamic material blending with KTX2 support.
-
Level of Detail & Occlusion: Two LOD tiers (High/Low) plus occlusion culling.
-
Foliage System: Group-based foliage placement with per-group controls.
-
Local Collision: Collision meshes around the camera.
-
Interactive Minimap: Draggable minimap & full-screen view with coordinates.
-
Procedural Filters & Export: Edit and export heightmaps at runtime.
-
Copy Assets: Move the
StaticandAssetsfolders into your RogueEngine project directory (e.g.,RogueEngineProjects/YourGame/) -
Add Prefab: Drag
MapGen/RuntimeMapGen.prefabinto your scene hierarchy. -
Play: Press Play button!!! (Toggle View_Mode to enable orbit-controls)
- Environment: Add prefab
MapGen/Environment/Environment.prefabfor clouds and ocean.
-
RogueEngine: https://rogueengine.io/
-
RapierPhysics: Install via the RogueEngine in‑engine marketplace.
-
I personally use WorldMachine, very industry-based terrain-map generator (export as heigthmap)
-
There's other software Gaea, similar to WorldMachine but newer and free.
-
Earth heightmaps with good resolution: Tangram Heightmapper


