Skip to content

Commit

Permalink
For to enable depth testing against terrain.
Browse files Browse the repository at this point in the history
  • Loading branch information
mramato committed Mar 18, 2015
1 parent 46e36f4 commit bf9e593
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Demos/FOSS4GNA2015/interpolation.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@
baseLayerPicker: false
});

//Enable depth testing so things behind the terrain disappear.
viewer.scene.globe.depthTestAgainstTerrain = true;

//Set the random number seed for consistent results.
Cesium.Math.setRandomNumberSeed(3);

Expand Down

0 comments on commit bf9e593

Please sign in to comment.