Sun position on 3dtiles building

Firstly, many thanks to the Cesium team on the 1.37 release. It solves the flicker problem i posted before.

5pm_sun.png

One approach is to increase the ambient color in the tileset. I’m pretty sure the New York demo is using an ambient color of (0.5, 0.5, 0.5). Rather than modifying the tileset another way would be to edit the code to increase the brightness of the shading computation:

https://github.com/AnalyticalGraphicsInc/cesium/blob/master/Source/ThirdParty/GltfPipeline/processModelMaterialsCommon.js#L544

var minimumLighting = optimizeForCesium ? 0.2 : 0.0;

could instead be

var minimumLighting = optimizeForCesium ? 0.5 : 0.0;