FIxing the bordering enble default value

This commit is contained in:
samcake 2016-01-21 16:38:21 -08:00
parent 2471a88e85
commit 9c344c6498
2 changed files with 2 additions and 1 deletions

View file

@ -104,7 +104,7 @@ private:
// radius info is { R, R^2, 1 / R^6, ObscuranceScale}
glm::vec4 radiusInfo{ 0.5f, 0.5f * 0.5f, 1.0f / (0.25f * 0.25f * 0.25f), 1.0f };
// Dithering info
glm::vec4 ditheringInfo { 0.0f, 0.0f, 0.01f, 0.0f };
glm::vec4 ditheringInfo { 0.0f, 0.0f, 0.01f, 1.0f };
// Sampling info
glm::vec4 sampleInfo { 11.0f, 1.0/11.0f, 7.0f, 1.0f };
// Blurring info

View file

@ -134,6 +134,7 @@ float getBlurEdgeSharpness() {
return params._blurInfo.x;
}
// KEEP this dead code for eventual performance improvment
#ifdef CONSTANT_GAUSSIAN
const int BLUR_RADIUS = 4;
const float gaussian[BLUR_RADIUS + 1] =