Running threejs on headless chromium using gpu

So, after days of trial end error I found a chromium flag that makes the gpu work on headless mode.

--use-cmd-decoder=passthrough

I don’t know why it works but it looks good and gives much faster results than swiftshader.

6 Likes