Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
---
title: Introduction
description: WebGL shader backdrops wrapped for Remotion and driven per-frame for deterministic renders
---
<ShaderHero
name="shader-warp"
props={{ colors: ["#0e0418", "#4a0d5e", "#a800b7", "#f0abfc"] }}
title="Your scene sits on top"
subtitle="The shader is the backdrop. Nothing else changes."
tags={["WebGL, driven per frame", "Built on paper-design/shaders"]}
/>
<HowItWorks
steps={[
{
title: "Install a shader",
body: "Every shader is its own registry item. Add one and the file lands in your project.",
},
{
title: "Drop it behind content",
body: "Render it first in an AbsoluteFill. Whatever follows sits on top as a full-bleed backdrop.",
},
{
title: "Tune, then go raw",
body: "A speed control plus a few of its own. Any other paper-design prop passes straight through.",
},
]}
>
## How it works
Each component wraps a shader from [paper-design/shaders](https://github.com/paper-design/shaders) and adapts it to the way Remotion renders video: headless, frame by frame, the same output on every pass.
</HowItWorks>
<InstallBlock name="shader-mesh-gradient" />
```tsx title="scene.tsx"
import { AbsoluteFill } from "remotion";
import { ShaderMeshGradient } from "@/components/remocn/shader-mesh-gradient";
export const Scene = () => (
<AbsoluteFill>
<ShaderMeshGradient speed={1} />
<AbsoluteFill>{/* your content on top */}</AbsoluteFill>
</AbsoluteFill>
);
```
<Note title="Why a dedicated wrapper">
A shader runs on a wall-clock timer, while Remotion renders frame N in isolation, often out of order and across parallel workers. Each component freezes the shader with `speed={0}` and drives its `frame` uniform from `useCurrentFrame()`, so scrubbing, looping and multi-pass renders all stay deterministic. It also holds the first paint with `delayRender()` until WebGL is ready, and fills the whole composition so there are no black margins.
</Note>
<LibraryGallery kind="shader">
## All shaders
Defaults are deliberately muted. Pick your own palette when the shader should lead.
</LibraryGallery>