summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
authorLaG1924 <lag1924@gmail.com>2021-12-25 07:37:53 +0100
committerLaG1924 <lag1924@gmail.com>2021-12-25 07:37:53 +0100
commit9feb51764077093a95a7b98af4b936a242096087 (patch)
tree51d377a4560a7e12b3b404b0b043d9f64981caf3 /src/RendererWorld.hpp
parentAdded smooth lighting (diff)
downloadAltCraft-9feb51764077093a95a7b98af4b936a242096087.tar
AltCraft-9feb51764077093a95a7b98af4b936a242096087.tar.gz
AltCraft-9feb51764077093a95a7b98af4b936a242096087.tar.bz2
AltCraft-9feb51764077093a95a7b98af4b936a242096087.tar.lz
AltCraft-9feb51764077093a95a7b98af4b936a242096087.tar.xz
AltCraft-9feb51764077093a95a7b98af4b936a242096087.tar.zst
AltCraft-9feb51764077093a95a7b98af4b936a242096087.zip
Diffstat (limited to 'src/RendererWorld.hpp')
-rw-r--r--src/RendererWorld.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index 184323d..438c022 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -55,7 +55,7 @@ class RendererWorld {
std::shared_ptr<Gal::PipelineInstance> skyPipelineInstance;
std::shared_ptr<Gal::Buffer> skyBuffer;
public:
- RendererWorld(std::shared_ptr<Gal::Framebuffer> target, bool defferedShading);
+ RendererWorld(std::shared_ptr<Gal::Framebuffer> target, bool defferedShading, bool smoothLighting);
~RendererWorld();
void Render(float screenRatio);
@@ -63,8 +63,7 @@ public:
double MaxRenderingDistance;
- float shaderDayTime;
-
void Update(double timeToUpdate);
+ bool smoothLighting;
};