WebGL2 rendering with node.js?

31 views
Skip to first unread message

Alexander Rose

unread,
Mar 18, 2024, 10:10:11 PMMar 18
to WebGL Dev List
Hi, I would like to ditch webgl1 support in my app and things are OK on the Browser side (yeah) but I need a way to efficiently render images in node.js. So far I relied on headless-gl (https://github.com/stackgl/headless-gl) which is wonderful but has no WebGL2 support.

Are there alternatives? Or do I need to either use something like Puppeteer or move to WebGPU (not easy) where headless rendering support appears to be better?

Ken Russell

unread,
Mar 19, 2024, 4:56:47 PMMar 19
to webgl-d...@googlegroups.com
Personally I would use Puppeteer and the full browser stack - this is the implementation our team (Chrome) focuses on.


On Mon, Mar 18, 2024 at 7:10 PM Alexander Rose <asr....@gmail.com> wrote:
Hi, I would like to ditch webgl1 support in my app and things are OK on the Browser side (yeah) but I need a way to efficiently render images in node.js. So far I relied on headless-gl (https://github.com/stackgl/headless-gl) which is wonderful but has no WebGL2 support.

Are there alternatives? Or do I need to either use something like Puppeteer or move to WebGPU (not easy) where headless rendering support appears to be better?

--
You received this message because you are subscribed to the Google Groups "WebGL Dev List" group.
To unsubscribe from this group and stop receiving emails from it, send an email to webgl-dev-lis...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/webgl-dev-list/e152a297-bf9c-46e3-b73d-535950048200n%40googlegroups.com.

thomas le coz

unread,
Mar 19, 2024, 9:59:39 PMMar 19
to webgl-d...@googlegroups.com
This what I did (pupetter + chrome instance) on the server-side with ffmpeg&webcodecs to encode the creations of customers on the video editing app "kizoa"
(some filter/transition involved webgl2) 

Reply all
Reply to author
Forward
0 new messages