Removed some new keywords

This commit is contained in:
Antoine Pilote
2023-10-02 01:35:42 -04:00
parent fd0f9a5a3f
commit cf7a6c20d6
2 changed files with 0 additions and 6 deletions

View File

@@ -66,15 +66,10 @@ namespace Nuake
glVertexAttribPointer(0, 3, GL_FLOAT, GL_FALSE, sizeof(float) * 3, (void*)0);
glEnableVertexAttribArray(0);
// TODO: mem leak.
m_Texture = new CubemapTexture("Res/Textures/Skyboxes/1/japan");
m_Hdr = new HDRTexture("Res/Textures/Skyboxes/HDR/OldIndustrialHall.jpg");
}
void Skybox::Draw(glm::mat4 projection, glm::mat4 view)
{
glDepthMask(GL_FALSE);
m_Texture->Bind(3);
m_Hdr->Bind(4);

View File

@@ -63,7 +63,6 @@ namespace Nuake {
glEnableVertexAttribArray(0);
m_HDRTexture = new HDRTexture(path);
// Create cubemap.
CreateHDRCubemap();
// Create convulated from cubemap.