Huge rework of editor and other changes.

This commit is contained in:
antopilo
2022-01-09 16:44:20 -05:00
parent 55ae840678
commit a71bfcbe75
55 changed files with 734 additions and 398 deletions

View File

@@ -2,6 +2,7 @@
#include <dependencies/GLEW/include/GL/glew.h>
#include "src/Rendering/Renderer.h"
#include <src/Vendors/imgui/imgui.h>
#include "Engine.h"
namespace Nuake
{
@@ -73,6 +74,7 @@ namespace Nuake
Shader* shader = ShaderManager::GetShader("resources/Shaders/bloom.shader");
m_ThresholdFB->Bind();
{
m_ThresholdFB->Clear();
@@ -163,7 +165,6 @@ namespace Nuake
shader->SetUniform1i("u_Stage", 5);
shader->SetUniform1i("u_Source", 1);
shader->SetUniform1i("u_Source2", 2);
m_UpSampleFB[m_Iteration - 1]->GetTexture()->Bind(1);
m_Source->Bind(2);
Renderer::DrawQuad(Matrix4());