Add the option to remove the sun/shadow effect for the virtual globe in a SceneView. The shadow negatively impacts viewing datapoints on a regional scale in the polar regions. Similar to comments here: https://community.esri.com/t5/arcgis-api-for-javascript-questions/how-to-disable-sun/td-p/310501 but the user-provided workaround fails on an iPad, potentially other tablets as well.
new SceneView({
/* ... */
environment: {
lighting: {
date: new Date ('null')
}
}
});
Happy to announce that you can choose now between sun and virtual light for your scenes.
With JS API 4.23 released last week, we introduce a new lighting mode called "VirtualLighting". This positions the light source relative to the camera, minimizing the amount of visible shadows. Assign it to SceneView.environment.lighting as an alternative to the existing lighting.
Check out more about the virtual lighting and other new features in our release notes for 4.23.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.