It's illegal to use the same renderpass for rendering to a framebuffer with different format (the offscreen one in this case). Added a prepareOffscreenRenderpass function that creates a new renderpass with the correct formats, and changed the vkCreateGraphicsPipelines and vkCreateFramebuffer calls to use this one. |
||
|---|---|---|
| .. | ||
| shadowmappingomni.cpp | ||
| shadowmappingomni.vcxproj | ||
| shadowmappingomni.vcxproj.filters | ||