# readInclude

function in `@dioramajs/glsl/convert`

```ts
import { readInclude } from '@dioramajs/glsl/convert'
```

Default include reader: relative to the including file, then as a package path.

```ts
function readInclude(spec: string, from: string): IncludeResult
```

| Parameter | Type | Description |
| --- | --- | --- |
| `spec` | `string` |  |
| `from` | `string` |  |

Defined in [packages/glsl/src/convert/index.ts](https://github.com/MasterKurosava/diorama/blob/main/packages/glsl/src/convert/index.ts#L96).
