adjust fog depth
This commit is contained in:
parent
55d9620983
commit
10c1daf676
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue