DeferredShading: Add bloom

This commit is contained in:
Jérôme Leclercq
2021-06-01 20:28:19 +02:00
parent 7bbe879d2f
commit 9ee3a0d6be
9 changed files with 441 additions and 20 deletions

View File

@@ -172,8 +172,8 @@ namespace Nz
TextureData& data = m_pending.textures.emplace_back();
data.format = m_attachments[attachmentIndex].format;
data.width = 100'000;
data.height = 100'000;
data.width = m_attachments[attachmentIndex].width;
data.height = m_attachments[attachmentIndex].height;
return textureId;
}