diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/AssetManager.cpp | 2 | ||||
-rw-r--r-- | src/RenderConfigs.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/AssetManager.cpp b/src/AssetManager.cpp index 0976e30..ca68304 100644 --- a/src/AssetManager.cpp +++ b/src/AssetManager.cpp @@ -557,7 +557,7 @@ void ParseBlockModels() { if (face.second.tintIndex) parsedFace.color = glm::vec3(0.486, 0.745, 0.423); else - parsedFace.color = glm::vec3(0, 0, 0); + parsedFace.color = glm::vec3(1.0f); model.parsedFaces.push_back(parsedFace); } diff --git a/src/RenderConfigs.cpp b/src/RenderConfigs.cpp index 0a5450b..3d91a1d 100644 --- a/src/RenderConfigs.cpp +++ b/src/RenderConfigs.cpp @@ -200,5 +200,5 @@ Gbuffer::Gbuffer(size_t geomW, size_t geomH, size_t lightW, size_t lightH, bool Gal::Format::R8G8B8A8, Gal::Filtering::Bilinear); - lightingPass->SetShaderParameter("applySsao", true); + lightingPass->SetShaderParameter("applySsao", applySsao); } |