MRT成功,但normal计算不对,待修正

This commit is contained in:
2019-07-10 18:04:50 +08:00
parent 7f3a193676
commit 5b4dad6941
8 changed files with 102 additions and 32 deletions

View File

@@ -16,7 +16,7 @@ class DescriptorSets
VkPipelineLayout pipeline_layout;
List<VkDescriptorImageInfo> desc_image_info;
ObjectList<VkDescriptorImageInfo> desc_image_info;
List<VkWriteDescriptorSet> write_desc_sets;
private:

View File

@@ -164,7 +164,7 @@ public: //material相关
public: //Command Buffer 相关
CommandBuffer * CreateCommandBuffer();
CommandBuffer * CreateCommandBuffer(const VkExtent2D *extent=nullptr);
bool CreateAttachment( List<VkAttachmentReference> &ref_list,
List<VkAttachmentDescription> &desc_list,