Shadows WIP

- create 2D texture (depthmap)
This commit is contained in:
Ayumiwii
2016-02-05 15:08:56 +01:00
parent 2cbeef4c69
commit 7f1016476b
11 changed files with 1812 additions and 4 deletions
+1 -1
View File
@@ -58,7 +58,7 @@ void FrameBuffer::Generate()
}
if ((*it)->m_Attachment != GL_DEPTH_ATTACHMENT) {
if ((*it)->m_ResourceType == GL_TEXTURE_2D) {
attachments.push_back((*it)->m_Attachment);
}
}