Skip to content

Production-ready animations, transitions, backgrounds, and scenes for Remotion

1.6 KB
Raw Blame
---
title: God Rays
description: Volumetric light rays radiating from an off-screen source
component: shader-god-rays
vibe: premium
length: 150
useWhen:
  - "A hero or reveal scene wants cinematic volumetric light rays from a corner source."
  - "You want atmosphere and depth behind a title without geometric structure."
  - "The palette is dark and you want soft neutral rays (override `colors` to brand-tint)."
avoidWhen:
  - "The brief bans decorative glow — this is a genuine volumetric shader, but keep `bloom`/`intensity` restrained so it does not read as an AI-slop glow."
  - "You want structured or cellular motion — use `shader-dot-orbit` or `shader-voronoi`."
  - "Bright rays would wash out foreground text — lower `intensity`/`bloom`."
askedAs:
  - "light beams from corner"
  - "cinematic sun rays"
  - "I want volumetric rays shining in from off screen behind my title"
  - "moody atmospheric backdrop with beams of light and depth"
  - "reveal scene where light streams through haze"
  - "dramatic spotlight shafts for a movie style hero"
---

<ComponentPreview name="shader-god-rays" />

<InstallBlock name="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={150}
    fps={30}
    width={1280}
    height={720}
  />
);
```

## Credits

Shader by [paper-design/shaders](https://github.com/paper-design/shaders).