Skip to content

Commit

Permalink
adds 23_images and formatted statue jpeg
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Russo committed Feb 10, 2019
1 parent 127e6fd commit 8a78019
Show file tree
Hide file tree
Showing 4 changed files with 914 additions and 1 deletion.
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,15 @@ Note that due to the flipping of the Y axis in the projection matrix, we now nee
the opposite direction.

[Diff](src/bin/22_descriptor_pools_and_sets.rs.diff) / [Complete code](src/bin/22_descriptor_pools_and_sets.rs)
## Texture mapping (*TODO*)
## Texture mapping
### Images
https://vulkan-tutorial.com/Texture_mapping/Images

This section is much simpler than the C++ counterpart due to the image library we use and Vulkano's internal
representation of images. The image library handles converting the image to a buffer in the right format, and then all we
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)
## Depth buffering (*TODO*)
## Loading models (*TODO*)
## Generating Mipmaps (*TODO*)
Expand Down
Loading

0 comments on commit 8a78019

Please sign in to comment.