From 30eb900a24ff41d6eb3db317f5012bcccff49030 Mon Sep 17 00:00:00 2001 From: Chris Cooper Date: Tue, 8 Jan 2019 10:14:46 +1100 Subject: [PATCH] increase tollerance for depth hack --- Source/Core/ApproximateTerrainHeights.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Core/ApproximateTerrainHeights.js b/Source/Core/ApproximateTerrainHeights.js index fbd3d3753d47..5e2f31b70b9f 100644 --- a/Source/Core/ApproximateTerrainHeights.js +++ b/Source/Core/ApproximateTerrainHeights.js @@ -60,7 +60,7 @@ define([ initPromise = Resource.fetchJson(buildModuleUrl('Assets/approximateTerrainHeights.json')) .then(function(json) { // PROPELLER HACK: Allow rendering of ground primitives with negative WGS84 elevation - var MAX_HOLE_DEPTH = 200; + var MAX_HOLE_DEPTH = 250; Object.keys(json).map(function(key) { json[key][0] -= MAX_HOLE_DEPTH; });