---
title: "Shader Frame"
canonical_url: "https://framerhub.io/components/shader-frame"
last_updated: "2026-11-09T16:24:45.459Z"
---

## Shader Frame

A ray-marched shader that draws a twisting, self-shadowing 3D structure inside a frame. It keeps changing over time and can ripple under the mouse. Use it for hero backgrounds, portfolios and section dividers.

## Features

**Ray-marched 3D.** A self-shadowing structure that keeps twisting and turning.

**Mouse interaction.** Optionally, the shader distorts and ripples as the cursor moves over it.

**Controls.** Speed, time offset, tint color, brightness, contrast, scale and distortion.

**Canvas and preview quality.** Render quality adjusts between the Framer canvas and preview so both stay smooth.

## Use Cases

**Hero backgrounds.** An animated backdrop behind the headline.

**Portfolios.** A high-end WebGL piece for a creative studio.

**Landing pages.** An abstract opening visual.

**Section dividers.** An animated band between sections.

![Shader Frame Preview](/framerhub/img/components/control/shader-frame.jpg)

## How to Use

### Customization

**Animation**

- Speed: Control animation speed (0-5)
- Time Offset: Shift the starting point of the animation

**Appearance**

- Tint Color: Apply a color tint to the shader
- Brightness: Adjust overall brightness (-1 to 1)
- Contrast: Control contrast levels (0-3)
- Scale: Zoom in/out of the pattern (0.2-3)
- Distortion: Control the distortion intensity (0-5)

**Interaction**

- Enable Mouse: Toggle mouse interaction
- Mouse Strength: Control how strongly mouse movement affects the shader

### Quick Tips

**Phones.** Ray-marching is heavy on the GPU. Use moderate settings on mobile.

**Subtle.** Distortion 0.5 to 1 at speed 0.5.

**Bold.** Distortion 3 and above at a faster speed.

**Behind text.** Lower the brightness and raise the contrast so text on top stays readable.

## Sitemap

See the full [sitemap](/sitemap.md) for all pages.
