Skip to main content

Using WebGL and WebGPU during renders

Some Remotion packages and third-party libraries use WebGL or WebGPU during rendering, including @remotion/effects, @remotion/three, Skia and map libraries.

Remotion 5.0

In Remotion 5.0, you don't need to specify any option for --gl. The renderer does automatically enable WebGL and WebGPU if possible and uses software fallbacks otherwise.

Remotion 4.0

In Remotion 4.0, enable WebGL and WebGPU when rendering from the CLI:

Terminal
npx remotion render --gl=angle

To use angle by default for Studio and CLI renders, set it in remotion.config.ts:

remotion.config.ts
Config.setChromiumOpenGlRenderer('angle');

See Config.setChromiumOpenGlRenderer() and the --gl flag reference for more renderer options.