Skip to content

Commit

Permalink
Add Shader Support For Emissive Maps (#164)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed Apr 14, 2022
1 parent fefbac7 commit a28e655
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ void ERS_CLASS_VisualRenderer::UpdateViewports(float DeltaTime, ERS_CLASS_SceneM


// Setup Vars
glDisable(GL_FRAMEBUFFER_SRGB);
glEnable(GL_DEPTH_TEST);
CaptureCursor_ = false;
CaptureIndex_ = -1;
Expand Down Expand Up @@ -145,7 +146,7 @@ void ERS_CLASS_VisualRenderer::UpdateViewports(float DeltaTime, ERS_CLASS_SceneM
// BIND To Default Framebuffer
glBindFramebuffer(GL_FRAMEBUFFER, 0);


glEnable(GL_FRAMEBUFFER_SRGB);



Expand Down

0 comments on commit a28e655

Please sign in to comment.