Update Readme

This commit is contained in:
maik klein 2016-12-12 04:43:46 +01:00
parent 950e5afb8c
commit bc572e1fa8

View file

@ -114,14 +114,19 @@ Currently only runs under Linux (x11) and requires GLFW, the LunarG Validation l
The triangle example is written from top to bottom without many helper functions or external dependencies. It renders a colored triangle. The shaders a written in GLSL and compiled into SPIR-V with [glslang](https://github.com/KhronosGroup/glslang) The triangle example is written from top to bottom without many helper functions or external dependencies. It renders a colored triangle. The shaders a written in GLSL and compiled into SPIR-V with [glslang](https://github.com/KhronosGroup/glslang)
``` ```
cd examples cd examples/triangle
cargo run cargo run
``` ```
![screenshot](http://i.imgur.com/PQZcL6w.jpg) ![screenshot](http://i.imgur.com/PQZcL6w.jpg)
### [Texture](https://github.com/MaikKlein/ash/blob/master/examples/texture/src/main.rs) ### [Texture](https://github.com/MaikKlein/ash/blob/master/examples/texture/src/main.rs)
Display a texture on a quad. *Needs a cleanup*. Displays a texture on a quad. *Needs a cleanup*.
```
cd examples/texture
cargo run
```
![texture](http://i.imgur.com/trow00H.png) ![texture](http://i.imgur.com/trow00H.png)
## Open questions ## Open questions