Add descriptor for shadow map
This commit is contained in:
1 parent
3dc7c73296
commit
6e37b45f28
3 files changed
+106
-18
No files matched your search
@@ -31,10 +31,12 @@ typedef struct {
|
||||
VkShaderModule floor_vert_shader;
|
||||
VkShaderModule model_vert_shader;
|
||||
VkShaderModule frag_shader;
|
||||
VkDescriptorSetLayout floor_desc_set_layout;
|
||||
VkDescriptorSetLayout desc_set_layout;
|
||||
VkDescriptorPool desc_pool;
|
||||
VkRenderPass shadow_pass;
|
||||
VkRenderPass render_pass;
|
||||
VkDescriptorSet floor_desc_sets[MAX_FRAMES_IN_FLIGHT];
|
||||
VkPipelineLayout floor_pipeline_layout;
|
||||
VkPipeline floor_pipeline;
|
||||
VkPipelineLayout model_pipeline_layout;
|
||||
|
||||
Reference in new issue
Block a user