A simple example of globe
配置项如下
option = {
backgroundColor: '#000',
globe: {
baseTexture: "/asset/get/s/data-1491837049070-rJZtl7Y6x.jpg",
heightTexture: "/asset/get/s/data-1491837049070-rJZtl7Y6x.jpg",
displacementScale: 0.04,
shading: 'realistic',
environment: '/asset/get/s/data-1491837999815-H1_44Qtal.jpg',
realisticMaterial: {
roughness: 0.9
},
postEffect: {
enable: true
},
light: {
main: {
intensity: 5,
shadow: true
},
ambientCubemap: {
texture: '/asset/get/s/data-1491838644249-ry33I7YTe.hdr',
diffuseIntensity: 0.2
}
}
}
};