Subversion Repository Public Repository

Divide-Framework

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

Diff Revisions 336 vs 337 for /trunk/Source Code/Rendering/PostFX/PostFX.cpp

Diff revisions: vs.
  @@ -30,8 +30,8 @@
30 30 _gfx(nullptr)
31 31 {
32 32 PreRenderStageBuilder::createInstance();
33 - ParamHandler::getInstance().setParam<bool>("postProcessing.enableVignette", false);
34 - ParamHandler::getInstance().setParam<bool>("postProcessing.fullScreenDepthBuffer", false);
33 + ParamHandler::getInstance().setParam<bool>("postProcessing.enableVignette", false);
34 + ParamHandler::getInstance().setParam<bool>("postProcessing.fullScreenDepthBuffer", false);
35 35 }
36 36
37 37 PostFX::~PostFX()
  @@ -87,7 +87,7 @@
87 87 _postProcessingShader = CreateResource<ShaderProgram>(postFXShader);
88 88
89 89 ResourceDescriptor textureWaterCaustics("Underwater Caustics");
90 - textureWaterCaustics.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images/terrain_water_NM.jpg");
90 + textureWaterCaustics.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images/terrain_water_NM.jpg");
91 91 _underwaterTexture = CreateResource<Texture>(textureWaterCaustics);
92 92
93 93 createOperators();
  @@ -163,8 +163,8 @@
163 163 if (_enableNoise && !_noise) {
164 164 ResourceDescriptor noiseTexture("noiseTexture");
165 165 ResourceDescriptor borderTexture("borderTexture");
166 - noiseTexture.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images//bruit_gaussien.jpg");
167 - borderTexture.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images//vignette.jpeg");
166 + noiseTexture.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images//bruit_gaussien.jpg");
167 + borderTexture.setResourceLocation(par.getParam<stringImpl>("assetsLocation") + "/misc_images//vignette.jpeg");
168 168 _noise = CreateResource<Texture>(noiseTexture);
169 169 _screenBorder = CreateResource<Texture>(borderTexture);
170 170 }