adjust fog depth

This commit is contained in:
Cat Flynn 2023-02-26 03:27:15 +00:00
parent 55d9620983
commit 10c1daf676
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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;