Hacker News new | ask | show | jobs
by valarauca1 2905 days ago
wouldn’t shader libraries be better?
1 comments

Ideally yes, but the lack of geometry/tessellation/compute shaders in WebGL limits what you can do on the GPU.

Geometry processing that's more complex than moving vertices around has to be done on the CPU for now.

>Geometry processing that's more complex than moving vertices

Have you heard about our lord and savior abstract vector spaces?

everything is just moving vertices around in linear transformations.

you should check out http://gpu.rocks/ pretty awesome GPGPU js library.