# Environment Map

One 360° equirectangular map lights the whole scene: it is the background and every reflection on a mirror-metal cube floating in it.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull environment-map --out ./environment-map
```

## Explore

- [Interactive example](https://vgpu.sh/examples/environment-map)
- [Fullscreen preview](https://vgpu.sh/preview/environment-map)
- [Complete source](https://vgpu.sh/examples/environment-map/source.md)

## Included files

- `index.tsx`
- `renderer.ts`
- `scene.ts`
- `camera.ts`
- `sky.wgsl`
- `blur.wgsl`
- `metal.wgsl`
- `present.wgsl`
- `env-common.wgsl`
