mirror of
https://github.com/EmbarkStudios/rust-gpu.git
synced 2024-11-25 00:04:11 +00:00
Updated docs
This commit is contained in:
parent
b3e5c73c8d
commit
70c5358419
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user