# Three.js WGSL modules

Turn one exported WGSL function into a callable Three.js TSL node and use it on a physical material.

## Download

Download the complete verified example source:

```bash
npx vgpu examples pull tsl-exports --out ./tsl-exports
```

## Explore

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

## Included files

- `index.tsx`
- `renderer.ts`
- `surface.wgsl`
