MicropolisCore icon indicating copy to clipboard operation
MicropolisCore copied to clipboard

Webgpu Support

Open DunDarach opened this issue 8 months ago • 0 comments

Webgpu support

  • If WebGPU is available it is used for rendering, otherwise webgl2 is used.
  • Zoom / Pan / Tileset / Space features are supported.
  • TileLayer is not supported.

Notes

First, this is really great work! Congratulations to you. I am happy to contribute (for instance, having Police / Fire department zones as overlays, and any tool that help player to understand what is going on).

I got confused with mopData, my understanding is that it is contains tileSet index for every cells. Why is it needed to have this for information for every cell? To workaround my possible misunderstanding, I have passed mopData[0] to fragment shader as tileSet index. What do you think ? TileLayer is not supported yet, waiting for your feedback.

DunDarach avatar Apr 05 '25 08:04 DunDarach