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 b09d8dd commit 10388eb
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ void ERS_CLASS_VisualRenderer::UpdateViewport(int Index, ERS_CLASS_SceneManager*
UpdateShader(ShaderIndex, DeltaTime, RenderWidth, RenderHeight, SceneManager, Viewports_[Index]->Camera.get());
Shaders_[ShaderIndex]->SetMat4("projection", projection);
Shaders_[ShaderIndex]->SetMat4("view", view);
Shaders_[ShaderIndex]->SetBool("GammaCorrection", Viewports_[Index]->GammaCorrection);


// Update Cursor If Selection Changed
Expand Down

0 comments on commit 10388eb

Please sign in to comment.