summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-12-05 02:44:37 +0100
committerLaG1924 <lag1924@gmail.com>2021-12-05 02:44:37 +0100
commit9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4 (patch)
tree4a57bd4b644828bc9a688cbad9e198d520f1c906 /src
parentAdded blending (diff)
downloadAltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar.gz
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar.bz2
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar.lz
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar.xz
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.tar.zst
AltCraft-9ffe5b9c171e01a4319e6329bb21e6c05ac3e2b4.zip
Diffstat (limited to 'src')
-rw-r--r--src/AssetManager.cpp2
-rw-r--r--src/RenderConfigs.cpp2
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);
}