mirror of
https://github.com/lubosz/overte.git
synced 2025-08-07 20:06:02 +02:00
FIxing the bordering enble default value
This commit is contained in:
parent
2471a88e85
commit
9c344c6498
2 changed files with 2 additions and 1 deletions
|
@ -104,7 +104,7 @@ private:
|
||||||
// radius info is { R, R^2, 1 / R^6, ObscuranceScale}
|
// 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 };
|
glm::vec4 radiusInfo{ 0.5f, 0.5f * 0.5f, 1.0f / (0.25f * 0.25f * 0.25f), 1.0f };
|
||||||
// Dithering info
|
// 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
|
// Sampling info
|
||||||
glm::vec4 sampleInfo { 11.0f, 1.0/11.0f, 7.0f, 1.0f };
|
glm::vec4 sampleInfo { 11.0f, 1.0/11.0f, 7.0f, 1.0f };
|
||||||
// Blurring info
|
// Blurring info
|
||||||
|
|
|
@ -134,6 +134,7 @@ float getBlurEdgeSharpness() {
|
||||||
return params._blurInfo.x;
|
return params._blurInfo.x;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// KEEP this dead code for eventual performance improvment
|
||||||
#ifdef CONSTANT_GAUSSIAN
|
#ifdef CONSTANT_GAUSSIAN
|
||||||
const int BLUR_RADIUS = 4;
|
const int BLUR_RADIUS = 4;
|
||||||
const float gaussian[BLUR_RADIUS + 1] =
|
const float gaussian[BLUR_RADIUS + 1] =
|
||||||
|
|
Loading…
Reference in a new issue