Skip to content

Commit

Permalink
Add vertex normal for world terrain
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Mar 7, 2018
1 parent 224e853 commit 2b99a81
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/map.3d.js.php
Original file line number Diff line number Diff line change
Expand Up @@ -517,7 +517,8 @@ function update_tsk() {
?>
function worldterrain() {
viewer.terrainProvider = Cesium.createWorldTerrain({
requestWaterMask : true
requestWaterMask : true,
requestVertexNormals : true
});
}
function stkterrain() {
Expand Down

0 comments on commit 2b99a81

Please sign in to comment.