CesiumGS / cesium

An open-source JavaScript library for world-class 3D globes and maps :earth_americas:
https://cesium.com/cesiumjs/
Apache License 2.0
12.39k stars 3.38k forks source link

Day-night lighting for models #6437

Open lilleyse opened 6 years ago

lilleyse commented 6 years ago

Models are lit based on the sun direction but there's no recognition of a day-night cycle. Two of the problems are:

Should there be a day-night lighting option on Models/3D Tiles?

Requested on the forum: https://groups.google.com/forum/#!topic/cesium-dev/8Y2lHMgJZVM.

laurensdijkstra commented 6 years ago

Considering glTF 2.0 with physically based rendering shaders it would be very logical to implement the lighting in a more physically based way as well IMO.

emackey commented 6 years ago

There's some chance I'll be looking into this in the next couple of weeks.