Commit Graph
30 Commits
Author SHA1 Message Date
Camden Dixie O'Brien db8e263197 Set up multisampling 2025-10-05 14:50:11 +01:00
Camden Dixie O'Brien b5bda150d2 Implement configurable lighting 2025-10-05 13:51:14 +01:00
Camden Dixie O'Brien 6e37b45f28 Add descriptor for shadow map 2025-10-04 21:27:46 +01:00
Camden Dixie O'Brien 3dc7c73296 Create shadow map sampler 2025-10-04 21:27:46 +01:00
Camden Dixie O'Brien 633a922e42 Run shadow render pass and compute light position in vertex shaders 2025-10-04 21:27:46 +01:00
Camden Dixie O'Brien 73340b3a39 Create shadow pipeline 2025-10-04 21:27:46 +01:00
Camden Dixie O'Brien 8725f3082c Create shadow framebuffer 2025-10-04 14:59:32 +01:00
Camden Dixie O'Brien da10aaab41 Create shadow map image 2025-10-04 14:50:53 +01:00
Camden Dixie O'Brien cffe42e72b Create shadow render pass 2025-10-04 14:49:40 +01:00
Camden Dixie O'Brien aa2fc4a41a Create function for image creation 2025-10-04 14:25:14 +01:00
Camden Dixie O'Brien 2cf4f6832d Pre-multiply V and P matrices 2025-10-04 14:10:00 +01:00
Camden Dixie O'Brien e7f4f4b51d Combine render functions into single gpu_render() 2025-10-04 11:51:53 +01:00
Camden Dixie O'Brien 1009952a7b Add floor 2025-10-04 01:02:55 +01:00
Camden Dixie O'Brien c24d3f4f27 Move some things around to prepare for multiple pipelines 2025-10-04 00:26:43 +01:00
Camden Dixie O'Brien ea82627695 Send view and project matrices in push constant 2025-10-03 23:42:54 +01:00
Camden Dixie O'Brien f3aa7435ec Restructure things a little to enable multiple models 2025-10-03 22:33:11 +01:00
Camden Dixie O'Brien 8bd595989d Load bone matrices for each frame 2025-10-02 03:59:16 +01:00
Camden Dixie O'Brien e42986adc3 Create buffer for bone matrices 2025-10-02 03:59:16 +01:00
Camden Dixie O'Brien 4c6015cbc9 Reanme SWAPCHAIN_IMG_BUFFER_SIZE to MAX_FRAMES_IN_FLIGHT 2025-09-29 17:11:32 +01:00
Camden Dixie O'Brien e75498ff71 Switch to using uniform buffer for MVP matrices 2025-09-29 17:11:32 +01:00
Camden Dixie O'Brien 620cf7606b Implement Utah teapot model loading 2025-09-29 12:16:10 +01:00
Camden Dixie O'Brien f546f27a42 Create linear algebra module 2025-09-28 13:57:09 +01:00
Camden Dixie O'Brien 59f584d1d4 Use struct for mat4_t instead of array 2025-09-28 01:46:59 +01:00
Camden Dixie O'Brien 6a5dba2600 Use struct for vec3_t instead of array 2025-09-27 22:53:52 +01:00
Camden Dixie O'Brien 7f4dffc7fb Switch to 3D geometry 2025-09-27 18:20:02 +01:00
Camden Dixie O'Brien 4180c4549b Add depth buffering 2025-09-27 18:19:38 +01:00
Camden Dixie O'Brien 3d10fe76ce Add MVP projection passed through push constant 2025-09-27 14:18:32 +01:00
Camden Dixie O'Brien c770895217 Use indexed drawing 2025-09-26 14:30:38 +01:00
Camden Dixie O'Brien 6d8fdb2f8c Switch to using staging buffer for vertex data 2025-09-26 14:30:38 +01:00
Camden Dixie O'Brien d4214941b1 Separate vulkan code into gpu module 2025-09-26 14:30:38 +01:00