Subversion Repository Public Repository

Divide-Framework

This repository has no backups
This repository's network speed is throttled to 100KB/sec

Diff Revisions 824 vs 830 for /trunk/Source Code/Rendering/PostFX/CustomOperators/BloomPreRenderOperator.cpp

Diff revisions: vs.
  @@ -3,7 +3,8 @@
3 3 #include "Platform/Video/Headers/GFXDevice.h"
4 4 #include "Platform/Video/Textures/Headers/Texture.h"
5 5
6 - #include "Core/Headers/ParamHandler.h"
6 + #include "Core/Headers/StringHelper.h"
7 + #include "Core/Headers/Configuration.h"
7 8 #include "Core/Resources/Headers/ResourceCache.h"
8 9 #include "Geometry/Shapes/Headers/Predefined/Quad3D.h"
9 10
  @@ -48,9 +49,8 @@
48 49 _context.deallocateRT(_bloomBlurBuffer[1]);
49 50 }
50 51
51 - void BloomPreRenderOperator::idle() {
52 - _bloomApply->Uniform("bloomFactor",
53 - ParamHandler::instance().getParam<F32>(_ID("postProcessing.bloomFactor"), 0.8f));
52 + void BloomPreRenderOperator::idle(const Configuration& config) {
53 + _bloomApply->Uniform("bloomFactor", config.rendering.bloomFactor);
54 54 }
55 55
56 56 void BloomPreRenderOperator::reshape(U16 width, U16 height) {