# Earth

A procedural planet with GPU-baked albedo, night lights and clouds, a lit atmosphere, and an HDR bloom chain tuned so only the sun glows.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull earth --out ./earth
```

## Explore

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

## Included files

- `index.tsx`
- `renderer.ts`
- `planet.ts`
- `planet-common.wgsl`
- `bake-surface.wgsl`
- `bake-clouds.wgsl`
- `sky.wgsl`
- `earth.wgsl`
- `atmosphere.wgsl`
- `overlay.wgsl`
- `bright-pass.wgsl`
- `blur.wgsl`
- `composite.wgsl`
