mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-04 11:35:06 +03:00
Added ambient term
This commit is contained in:
@@ -653,6 +653,7 @@ namespace Nuake
|
||||
shadingShader->SetUniformMat4f("u_Projection", mProjection);
|
||||
shadingShader->SetUniformMat4f("u_View", mView);
|
||||
shadingShader->SetUniformVec3("u_EyePosition", scene.GetCurrentCamera()->Translation);
|
||||
shadingShader->SetUniform1f("u_AmbientTerm", environment->AmbientTerm);
|
||||
|
||||
shadingShader->SetUniformTex("m_SSAO", scene.GetEnvironment()->mSSAO->GetOuput()->GetTexture().get(), 9);
|
||||
|
||||
|
||||
@@ -32,6 +32,7 @@ namespace Nuake
|
||||
float VolumetricFog = 0.90f;
|
||||
float VolumetricStepCount = 50.f;
|
||||
|
||||
float AmbientTerm = 0.5f;
|
||||
float Exposure = 3.5f;
|
||||
float Gamma = 1.1f;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user