mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-21 20:08:40 +03:00
Huge rework of editor and other changes.
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user