mirror of
https://github.com/overte-org/overte.git
synced 2025-04-23 10:13:22 +02:00
Fixing the warning maybe
This commit is contained in:
parent
6d89f6d7b0
commit
24d1f113f8
2 changed files with 2 additions and 3 deletions
libraries/render-utils/src
|
@ -106,7 +106,7 @@ private:
|
|||
// Dithering info
|
||||
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 };
|
||||
glm::vec4 sampleInfo { 11.0f, 1.0f/11.0f, 7.0f, 1.0f };
|
||||
// Blurring info
|
||||
glm::vec4 blurInfo { 1.0f, 3.0f, 2.0f, 0.0f };
|
||||
// gaussian distribution coefficients first is the sampling radius (max is 6)
|
||||
|
|
|
@ -134,7 +134,6 @@ float getBlurEdgeSharpness() {
|
|||
return params._blurInfo.x;
|
||||
}
|
||||
|
||||
#define CONSTANT_GAUSSIAN
|
||||
#ifdef CONSTANT_GAUSSIAN
|
||||
const int BLUR_RADIUS = 4;
|
||||
const float gaussian[BLUR_RADIUS + 1] =
|
||||
|
@ -182,7 +181,7 @@ vec2 fetchOcclusionDepth(ivec2 coords) {
|
|||
}
|
||||
|
||||
const int RADIUS_SCALE = 1;
|
||||
const float BLUR_WEIGHT_OFFSET = 0.0;
|
||||
const float BLUR_WEIGHT_OFFSET = 0.05;
|
||||
const float BLUR_EDGE_SCALE = 2000.0;
|
||||
|
||||
vec2 evalTapWeightedValue(ivec3 side, int r, ivec2 ssC, float key) {
|
||||
|
|
Loading…
Reference in a new issue