add cdn intructions, fixes #5

This commit is contained in:
Benny Daon 2023-10-21 15:48:53 +03:00
parent 858e398029
commit 031a0454a8

View File

@ -79,6 +79,17 @@ or for WebGL2 use
<script src="virtual-webgl2.js"></script>
```
### Using CDN
WebGL2 is also hosted on a CDN:
```
<script src="https://cdn.jsdelivr.net/npm/virtual-webgl"></script>
```
To use a specific version, add `@1.0.6` to the URL.
## Writing your own compositor
The compositor is the part of virtual-webgl that's responsible for updating the