GPU path rendering SVG vector acceleration with Playcanvas

Hi im using d3+ kute+ vanilla js to render/manipulate svg vectors… Is there a way to use the opengl cuda drivers to do gpu accelerated vectors in playcanvas natively, I reckon this will double/triple the framerate when rendering vectors

Hi @plasmalasgun,

I don’t think that is possible, right now, not just in Playcanvas but in WebGL in general. Compute shaders aren’t exposed in any version of WebGL and CUDE calc is only availabe in native/desktop apps.

That may change with WebGPU but that will take some time to arrive in all mainstream browsers.

1 Like