🎥 Make videos programmatically with React
better document which GPU effects take more time
Jonny Burger9756b0a81f07
diff --git a/packages/docs/docs/gpu.md b/packages/docs/docs/gpu.mdindex ee0f75e6ac..75c3d90545 100644--- a/packages/docs/docs/gpu.md+++ b/packages/docs/docs/gpu.md@@ -10,7 +10,7 @@ Some types of content in Remotion can benefit from a GPU being available on the- WebGL content (Three.JS, Skia, P5.js, Mapbox etc.)- 2D Canvas graphics-- GPU-accelerated CSS properties such as `box-shadow`, `filter: blur()` and `filter: drop-shadow`+- GPU-accelerated CSS properties such as `box-shadow`, `text-shadow`, `background-image: linear-gradient()`, `background-image: radial-gradient()`, `filter: blur()`, `filter: drop-shadow()`If a GPU is available, it should be enabled by default while in the Remotion Studio or Remotion Player. However, in headless mode, Chromium disables the GPU, leading to a significantslowdown in rendering time.diff --git a/packages/docs/docs/performance.md b/packages/docs/docs/performance.mdindex 6389fc7cfa..6079e1e1d6 100644--- a/packages/docs/docs/performance.md+++ b/packages/docs/docs/performance.md@@ -20,9 +20,13 @@ The following elements use the GPU:- WebGL content (Three.JS, Skia, P5.js, Mapbox etc.)- 2D Canvas graphics-- GPU-accelerated CSS properties such as `box-shadow`, `filter: blur()` and `filter: drop-shadow`+- GPU-accelerated CSS properties such as `box-shadow`, `text-shadow`, `background-image: linear-gradient()`, `background-image: radial-gradient()`, `filter: blur()`, `filter: drop-shadow()`-If your content is part of that, read the [considerations about using the GPU](/docs/gpu).+Compute instances in the cloud do not have a GPU and may take a long time to render these effects, leading to bottlenecks.++Consider replacing those effects with a precomputed image for the best performance.++Read the [considerations about using the GPU](/docs/gpu).## Videos