Skip to content

Webgpu Support #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from
Open

Webgpu Support #8

wants to merge 7 commits into from

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