globe.gl 2.32.0 → 2.32.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -27,9 +27,7 @@
|
|
|
27
27
|
globeMaterial.shininess = 15;
|
|
28
28
|
});
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
directionalLight && directionalLight.position.set(1, 1, 1); // change light position to see the specularMap's effect
|
|
33
|
-
});
|
|
30
|
+
const directionalLight = world.lights().find(light => light.type === 'DirectionalLight');
|
|
31
|
+
directionalLight && directionalLight.position.set(1, 1, 1); // change light position to see the specularMap's effect
|
|
34
32
|
</script>
|
|
35
33
|
</body>
|