diff --git a/shader/include/constants.glsl b/shader/include/constants.glsl index 104b27f..e07a247 100644 --- a/shader/include/constants.glsl +++ b/shader/include/constants.glsl @@ -1,4 +1,4 @@ -const float INF = 30.0; +const float INF = 45.0; const float PI = 3.14159; const float E = 2.71828; const int BOUNCES = 5; diff --git a/shader/include/depth.glsl b/shader/include/depth.glsl index 34fc7f2..77adf97 100644 --- a/shader/include/depth.glsl +++ b/shader/include/depth.glsl @@ -7,7 +7,7 @@ float getLogarithmicDepth(float distance) { // n roughly correlates to steepness of log curve // TODO: what does this mean in mathematical terms?? - float n = 4; + float n = 2; float f = INF; float z = distance;