Commit Graph

2 Commits

Author SHA1 Message Date
b0dd2cdf3a Added textures
Textures are stored in a global hashtable. Each mesh pipeline has access
to a single texture. The texture may be used as an atlas by creating
meshes with different texture coordinates. The current system should be
fine for text glyphs. However, if you have an atlas where each
subdivision is equal in its dimensions, the use of layers and the
VK_IMAGE_VIEW_TYPE_2D_ARRAY view type would be best. Some preliminary
code for this was completed, but for now inserting textures into the
hashmap defaults to VK_IMAGE_VIEW_TYPE_2D.
2024-05-22 09:57:13 -05:00
d076c9673d Hello Triangle program with Vulkan
The Vulkan bits are written in C. Then in common lisp you talk to the
renderer. On the common lisp side, the program was made to allow
interaction with the REPL while the game runs. Vertex buffers have not
been implemented yet, the Vulkan stuff is currently barebones.
2024-05-03 12:01:33 -05:00