enableLighting problem

I attempt to run the following two lines of sample code in Sandcastle:

var viewer = new Cesium.Viewer('cesiumContainer');
viewer.scene.globe.enableLighting = true;

And when I change the scene mode to 2D and move the flat map, the lighting effect will alternate appearance and disappearance.

Is it normal or a bug? Thanks a lot~

Hello,

This is a bug. I’ve written up an issue for us to look into it here: https://github.com/AnalyticalGraphicsInc/cesium/issues/4122

Thanks,

Hannah

Hi Hannah,

Thanks for your response~

Hannah Pinkos於 2016年7月18日星期一 UTC+8下午10時42分20秒寫道:

Hello, This was just fixed and the fix will be included in the Cesium 1.49 release available on September 3rd. Thanks!