summaryrefslogtreecommitdiffstats
path: root/src/RendererWorld.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/RendererWorld.hpp')
-rw-r--r--src/RendererWorld.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/RendererWorld.hpp b/src/RendererWorld.hpp
index e645b30..438c022 100644
--- a/src/RendererWorld.hpp
+++ b/src/RendererWorld.hpp
@@ -55,14 +55,15 @@ class RendererWorld {
std::shared_ptr<Gal::PipelineInstance> skyPipelineInstance;
std::shared_ptr<Gal::Buffer> skyBuffer;
public:
- RendererWorld(std::shared_ptr<Gal::Framebuffer> target);
+ RendererWorld(std::shared_ptr<Gal::Framebuffer> target, bool defferedShading, bool smoothLighting);
~RendererWorld();
void Render(float screenRatio);
- void PrepareRender(std::shared_ptr<Gal::Framebuffer> target);
+ void PrepareRender(std::shared_ptr<Gal::Framebuffer> target, bool defferedShading);
double MaxRenderingDistance;
void Update(double timeToUpdate);
+ bool smoothLighting;
};