atmosphere: remove volumetric fog pass
This commit is contained in:
1 parent
32132f33d1
commit
d173f926e4
2 files changed
+2
-7
No files matched your search
Vendored
+1
-1
@@ -2141,7 +2141,7 @@ var ATMO_HAZE_RESIDUAL = (typeof ATMO.hazeResidual === 'number')
|
||||
? Math.max(0.02, Math.min(0.95, ATMO.hazeResidual)) : 0.30;
|
||||
var ATMO_DISTANCE_FOG = ATMO.distanceFog !== false;
|
||||
var ATMO_MODEL = ATMO.model || {};
|
||||
var ATMO_MODEL_ON = ATMO_MODEL.enabled !== false;
|
||||
var ATMO_MODEL_ON = ATMO_MODEL.enabled === true;
|
||||
var ATMO_MODEL_HEIGHT_KM = (typeof ATMO_MODEL.heightKm === 'number')
|
||||
? Math.max(1.0, Math.min(80.0, ATMO_MODEL.heightKm)) : 35.0;
|
||||
var ATMO_MODEL_HEIGHT_UNITS = ATMO_MODEL_HEIGHT_KM / KM_PER_TILE;
|
||||
|
||||
Reference in new issue
Block a user