diff options
author | LaG1924 <lag1924@gmail.com> | 2021-11-27 17:08:58 +0100 |
---|---|---|
committer | LaG1924 <lag1924@gmail.com> | 2021-11-27 17:08:58 +0100 |
commit | c905ede556c892d39fd69d3945026ba244567ce9 (patch) | |
tree | 86b0d1f5f3ba47358bfb3a89c1dba9ae9a344a39 /src/RendererEntity.cpp | |
parent | Added ShaderParametersBuffer to GalOgl (diff) | |
download | AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.gz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.bz2 AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.lz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.xz AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.tar.zst AltCraft-c905ede556c892d39fd69d3945026ba244567ce9.zip |
Diffstat (limited to 'src/RendererEntity.cpp')
-rw-r--r-- | src/RendererEntity.cpp | 2 |
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); } |