Skip to content

Commit

Permalink
Turn off polygon offset from Chrome temporarily
Browse files Browse the repository at this point in the history
  • Loading branch information
lilleyse committed Oct 31, 2016
1 parent d0619b0 commit 300191d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Scene/ShadowMap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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://groups.google.com/forum/#!topic/webgl-dev-list/E1dAG65QBhg is resolved.
var polygonOffsetSupported = true;
if (FeatureDetection.isInternetExplorer()) {
if (FeatureDetection.isInternetExplorer() || FeatureDetection.isChrome()) {
polygonOffsetSupported = false;
}
this._polygonOffsetSupported = polygonOffsetSupported;
Expand Down

0 comments on commit 300191d

Please sign in to comment.