---
title: "Flash Through White"
description: "Shader transition with white flash crossfade"
mode: "frame"
---
import { CatalogDetail, CatalogSlot } from "/snippets/catalog-detail.jsx";
import { InstallCommand } from "/snippets/install-command.jsx";
Flash Through White
Shader transition with white flash crossfade
```html flash-through-white.html
12 / 14
Flash Through White
Prompt
"use flash through white shader transition"
Both scenes brighten to a white midpoint. Works on dark backgrounds where
color-dip-to-black is invisible.
```
That writes one file: `compositions/flash-through-white.html`.
## Add it to your video
It runs for 4 seconds at 1920×1080. Paste this into your composition:
```html index.html
```
Move it in time with `data-start`. Put it on a different timeline row with
`data-track-index`. See [data attributes](/concepts/data-attributes) for the rest.
{/* hf:generated-footer */}
Tagged `transition` `shader`.
## Related topics
- [Browse the complete Catalog](/catalog)
- [Add assets and Catalog items in the browser editor](/studio/assets-and-blocks)
- [Put blocks together into one video](/concepts/compositions)