Terrain Component for Editor

Hello everyone, I present my implementation of a terrain for the Playcanvas.

  • Ability to save and load height maps.
  • The system uses a smart solution and automatically determines which patches need to be hidden and detailed.
  • Integration with Ammo, using dynamic meshing based on logs.


image

8 Likes

Great! Any plans for texturing?

1 Like

Yes, Iā€™m already developing it.

2 Likes

Looking great so far :+1:

1 Like

Upgrade: Add support texture painter, support 8 channels. Save to special file format or png.


3 Likes

Upgrade:

  1. Added support for rectangular side shapes.
  2. Optimization vram use.

Example: terrain 16x16km.

WebGL2

WebGPU (use baseVertex)

Terrain: 1x1km width scale 8 = 8x8km.


@mvaligursky

3 Likes

@Wagner - feel free to create a PR for the baseVertex on WebGPU.

1 Like