- A basic demonstration showing how to draw a lot of different shapes to help debug WebGPU: lines, axes, spheres, discs (solid and lines), rectangles (solid and lines).
- Supports depth tinting (shader-driven depth buffer testing to let you "see" the other side of your shapes through objects), and "thick" lines (through instancing).
- A basic monospace text printer as well for debugging.
- Shows a "GPU-driven" mode allowing you to draw shapes and print float vectors from shaders, using a storage buffer and appending draw commands. Helpful for debugging geometry from shaders.
-
Notifications
You must be signed in to change notification settings - Fork 0
magcius/WebGPU-DebugDraw
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
An example of a GPU-powered Debug Draw system in WebGPU.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published