From ae9f80382d90afb868befaab66f9d2f5a2c9b1cd Mon Sep 17 00:00:00 2001 From: Sean Lilley Date: Mon, 31 Oct 2016 15:30:12 -0400 Subject: [PATCH] Turn off polygon offset from Chrome temporarily --- Source/Scene/ShadowMap.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/Scene/ShadowMap.js b/Source/Scene/ShadowMap.js index 43688260d1fe..59c90325ccf1 100644 --- a/Source/Scene/ShadowMap.js +++ b/Source/Scene/ShadowMap.js @@ -185,8 +185,9 @@ define([ this._needsUpdate = true; // In IE11 polygon offset is not functional. + // TODO : Also disabled for Chrome temporarily. Re-enable once https://github.com/AnalyticalGraphicsInc/cesium/pull/4559 is resolved. var polygonOffsetSupported = true; - if (FeatureDetection.isInternetExplorer()) { + if (FeatureDetection.isInternetExplorer() || FeatureDetection.isChrome()) { polygonOffsetSupported = false; } this._polygonOffsetSupported = polygonOffsetSupported;