Can you turn off the sun in a SceneView ?

07-29-2016 08:50 AM
New Contributor II

I want to be able to view the  polar regions without half of the earth in the darkness. Can the lighting model be changed?   I don't see any property in that would control this.

0 Kudos
1 Reply
New Contributor

@ClayHarter  - Through trial and error, I eliminated the darkness over half the globe when centered over the polar regions.  I had to define the date to null under environment, lighting. According to the reference, the environment, lighting date value is set to null by default. However, I noticed that it must be defined explicitly. I discovered one issue after this workaround. The stars have disappeared. They are not as important in my application, but it would have been nice if they were still there.

Hopely Esri will fix this issue permanently since this is only a workaround.

environment: { 
   lighting: {
       date: new Date ('null')