Updated docs

This commit is contained in:
Sylvester Hesp 2022-12-20 10:38:49 +01:00
parent b3e5c73c8d
commit 70c5358419

View File

@ -12,7 +12,9 @@ As of `0.4.0-alpha.16`, your shaders will require a different preamble. See [thi
![Sky shader](https://github.com/EmbarkStudios/rust-gpu/raw/b12a2f3f6a54bc841d05a9224bc577909d519228/docs/assets/sky.jpg)
```rust
Here is a small excerpt to see what a shader would look like. See [source][source] for full details of the shader that generates above image.
```rust,norun
use spirv_std::spirv;
use glam::{Vec3, Vec4, vec2, vec3};
@ -38,8 +40,6 @@ pub fn main(
}
```
See [source][source] for full details.
## Getting started
Check out [The `rust-gpu` Dev Guide][gpu-guide] for information on how to get started with using it in your projects.