add star and atmosphere layers

This commit is contained in:
tengge 2020-08-04 20:30:09 +08:00
parent 8f91dd00ff
commit 950ddad741

View File

@ -190,8 +190,8 @@ class SceneMenu extends React.Component {
let context = app.editor.renderer.getContext();
context.activeTexture(context.TEXTURE0);
let map = new WorldWind.WorldWindow(context);
// map.addLayer(new WorldWind.StarFieldLayer());
// map.addLayer(new WorldWind.AtmosphereLayer());
map.addLayer(new WorldWind.StarFieldLayer());
map.addLayer(new WorldWind.AtmosphereLayer());
map.addLayer(new WorldWind.XYZLayer());
window.map = map;