God Rays

Volumetric light rays radiating from an off-screen source. A free, MIT-licensed Remotion shader background.

Installation
$ pnpm dlx shadcn@latest add @remocn/shader-god-rays

Usage

tsx
// src/Root.tsx
import { Composition } from "remotion";
import { ShaderGodRays } from "@/components/remocn/shader-god-rays";
 
const ShaderGodRaysScene = () => (
  <ShaderGodRays speed={1} intensity={0.8} density={0.3} />
);
 
export const RemotionRoot = () => (
  <Composition
    id="ShaderGodRays"
    component={ShaderGodRaysScene}
    durationInFrames={300}
    fps={60}
    width={1280}
    height={720}
  />
);

Credits

Shader by paper-design/shaders.