Closed fnicollet closed 6 years ago
@peppsac this is the fault of t
being a NaN
. Do you know why, as you seem the most recent contributor to this piece of code ? https://github.com/iTowns/itowns/blob/master/src/Core/Prefab/GlobeView.js#L267
No idea. But this formula comes from 00b17d26dbe3842c656a2fcb4486e6268f8ca41d
(it was moved from c3DEngine.js
to GlobeView.js
).
I'll fix it, simplify and explain the code
Hello,
Trying iTowns, with only the ortho. As I tilt the map, the sky suddently renders black instead of being blue:
Reproduced in Chrome with the following code:
As you zoom out, the sky turns back to blue
Fabien