Skip to content
Snippets Groups Projects
Commit 92241173 authored by Alexander Gauggel's avatar Alexander Gauggel
Browse files

[#82] Cull the shadow too!

parent 2ed9636c
No related branches found
No related tags found
1 merge request!70Resolve "Voxel cone tracing"
Pipeline #25990 failed
......@@ -154,9 +154,10 @@ ShadowMapping::ShadowMapping(vkcv::Core* corePtr, const vkcv::VertexLayout& vert
{},
false
};
shadowPipeConfig.m_multisampling = msaa;
shadowPipeConfig.m_EnableDepthClamping = true;
m_shadowMapPipe = corePtr->createGraphicsPipeline(shadowPipeConfig);
shadowPipeConfig.m_multisampling = msaa;
shadowPipeConfig.m_EnableDepthClamping = true;
shadowPipeConfig.m_culling = vkcv::CullMode::Front;
m_shadowMapPipe = corePtr->createGraphicsPipeline(shadowPipeConfig);
m_shadowSampler = corePtr->createSampler(
vkcv::SamplerFilterType::LINEAR,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment