summaryrefslogtreecommitdiffstats
path: root/src/RendererEntity.cpp
diff options
context:
space:
mode:
authorLaG1924 <12997935+LaG1924@users.noreply.github.com>2021-12-25 07:50:14 +0100
committerGitHub <noreply@github.com>2021-12-25 07:50:14 +0100
commit7ebc8e1bd33b6658b50153a26945814a87fba5f4 (patch)
tree51d377a4560a7e12b3b404b0b043d9f64981caf3 /src/RendererEntity.cpp
parentMerge pull request #77 from LaG1924/ftr/graphics-abstraction-layer (diff)
parentAdded smooth lighting settings parameter (diff)
downloadAltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.gz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.bz2
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.lz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.xz
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.tar.zst
AltCraft-7ebc8e1bd33b6658b50153a26945814a87fba5f4.zip
Diffstat (limited to 'src/RendererEntity.cpp')
-rw-r--r--src/RendererEntity.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/RendererEntity.cpp b/src/RendererEntity.cpp
index 02a5f54..d014bdb 100644
--- a/src/RendererEntity.cpp
+++ b/src/RendererEntity.cpp
@@ -18,5 +18,5 @@ void RendererEntity::Render(std::shared_ptr<Gal::Pipeline> pipeline, const World
model = glm::scale(model, glm::vec3(entity.width, entity.height, entity.width));
pipeline->SetShaderParameter("model", model);
- pipeline->SetShaderParameter("color", entity.renderColor);
+ pipeline->SetShaderParameter("entityColor", entity.renderColor);
}