Skip to content

Commit

Permalink
adds 24_image_sampler
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Russo committed Feb 10, 2019
1 parent 7e41b63 commit d2a6383
Show file tree
Hide file tree
Showing 3 changed files with 871 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -377,6 +377,15 @@ representation of images. The image library handles converting the image to a bu
need to do is pass this buffer into the appropriate constructor.

[Diff](src/bin/23_images.rs.diff) / [Complete code](src/bin/23_images.rs)

### Image sampler
https://vulkan-tutorial.com/Texture_mapping/Image_view_and_sampler

This section is incredibly simple. The image we created in the last section includes the functionality of an image view
and Vulkano includes a function to create a simple linear sampler.

[Diff](src/bin/24_image_sampler.rs.diff) / [Complete code](src/bin/24_image_sampler.rs)

## Depth buffering (*TODO*)
## Loading models (*TODO*)
## Generating Mipmaps (*TODO*)
Expand Down
Loading

0 comments on commit d2a6383

Please sign in to comment.