Contours shader
Another canvas overlaid for labeling debug views Was having trouble with events not going through the top canvas, pointerEvents: none seems to work WIP: setting up the debug viewport/canvas for debug blitting WIP: sets up and clear the second canvas WIP: Bliting texture seems to work WIP: adding reference to labeling generator (to access debug textures) dispatch -> dispatchWorkgroups WIP: contours compute pass not working yet switch back to showing contours buffer Thanks for Matus, contour pass finally computes Uncommenting shader code and stuff WIP: adding ID texture to G buffer thought I'd only do it for spheres and rounded cones but it produces invalid pipelines right now Set up selection ID attachment in G buffer rendering Matus saved the day once :-) WIP: refactoring labeling layout / debug viewport setup WIP: restructured, outlines showing in debug viewport again Moved webgpu objects to common graphics library places Contours: output UVs for distance transform seed
parent
d482d26f
Please register or sign in to comment