Skip to content

Instantly share code, notes, and snippets.

View ilya-lopukhin's full-sized avatar
🐴
Developing.... . ..

Ilya Lopukhin ilya-lopukhin

🐴
Developing.... . ..
View GitHub Profile
@danielstenson
danielstenson / README.md
Last active August 4, 2024 06:22
ES6 Compatible Dynamic Terrain Babylon Extension

ES6 Compatible Dynamic Terrain Babylon Extension

How to use

  • Place the babylon.dynamicTerrain_modular.ts file inside the src/externals/DynamicTerrain folder.
  • In your script that you'd like to generate the terrain from, import the module with:
import { DynamicTerrain } from "../externals/DynamicTerrain/babylon.dynamicTerrain_modular";
  • And use it like such:
terrain = new DynamicTerrain("t", params, scene);