Fix bloom effect in hdr example
This commit is contained in:
parent
983c5d95da
commit
6b494d6098
1 changed files with 1 additions and 1 deletions
|
|
@ -843,12 +843,12 @@ public:
|
||||||
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[0]));
|
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[0]));
|
||||||
|
|
||||||
// Second blur pass (into separate framebuffer)
|
// Second blur pass (into separate framebuffer)
|
||||||
rasterizationState.cullMode = VK_CULL_MODE_BACK_BIT;
|
|
||||||
pipelineCreateInfo.renderPass = filterPass.renderPass;
|
pipelineCreateInfo.renderPass = filterPass.renderPass;
|
||||||
dir = 0;
|
dir = 0;
|
||||||
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[1]));
|
VK_CHECK_RESULT(vkCreateGraphicsPipelines(device, pipelineCache, 1, &pipelineCreateInfo, nullptr, &pipelines.bloom[1]));
|
||||||
|
|
||||||
// Object rendering pipelines
|
// Object rendering pipelines
|
||||||
|
rasterizationState.cullMode = VK_CULL_MODE_BACK_BIT;
|
||||||
|
|
||||||
// Vertex bindings an attributes for model rendering
|
// Vertex bindings an attributes for model rendering
|
||||||
// Binding description
|
// Binding description
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue