Assign offscreen framebuffer texture target view to descriptor info
This commit is contained in:
parent
28e486083e
commit
f8360427cb
1 changed files with 1 additions and 0 deletions
|
|
@ -772,6 +772,7 @@ public:
|
||||||
|
|
||||||
// Image descriptor for the shadow map texture
|
// Image descriptor for the shadow map texture
|
||||||
texDescriptor.sampler = offScreenFrameBuf.textureTarget.sampler;
|
texDescriptor.sampler = offScreenFrameBuf.textureTarget.sampler;
|
||||||
|
texDescriptor.imageView = offScreenFrameBuf.textureTarget.view;
|
||||||
|
|
||||||
std::vector<VkWriteDescriptorSet> sceneDescriptorSets =
|
std::vector<VkWriteDescriptorSet> sceneDescriptorSets =
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue