Skip to content

Conversation

DunDarach
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant