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 = {