From f8360427cb63d047eb855968b0c241347bc25f89 Mon Sep 17 00:00:00 2001 From: saschawillems Date: Sat, 5 Mar 2016 17:29:20 +0100 Subject: [PATCH] Assign offscreen framebuffer texture target view to descriptor info --- shadowmapping/shadowmapping.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/shadowmapping/shadowmapping.cpp b/shadowmapping/shadowmapping.cpp index bc907cec..8e05ab60 100644 --- a/shadowmapping/shadowmapping.cpp +++ b/shadowmapping/shadowmapping.cpp @@ -772,6 +772,7 @@ public: // Image descriptor for the shadow map texture texDescriptor.sampler = offScreenFrameBuf.textureTarget.sampler; + texDescriptor.imageView = offScreenFrameBuf.textureTarget.view; std::vector sceneDescriptorSets = {