Cesium 1.50 imagery on lunar globe does not show

1. A concise explanation of the problem you're experiencing.

Cesium 1.50 failing to display imagery layers when using a non-earth ellipsoid.

2. A minimal code example. If you've found a bug, this helps us reproduce and repair it.

Here's a link to 1.49 where the WMS layer loads:
https://cesiumjs.org/releases/1.49/Apps/Sandcastle/index.html#c=bVLbitswEP0V4Rc7EORNLyy43lBYSlvY0oUs3RfDMpYntlpZEpLskC7598qW3cRp9SLmzJkz1x4MQSG4topX5I5IPJB7tLxr6acZTja3b2/f3dysr/7Vh0L2Pr4F/WjUT2SOK7nU+IyqNqAbzs6M5G++WaAWqsSrwAFaMgNXaWc99bWQxL9F6mxprgNlFM/CN0ElWHyAI5pHzn6hycgehMVCnqZ6eo4HNMuCfoxYErPRvFfSAZdo4vVYUagvRPMWajTHMcFQalCjC9jTFzaFqvoaAN9Azyuf6iL5M5bfQO/Q9JzhNW8aRWcEyUjcOKdtlqYHLP00qDCKUbAdxapL46l/EUrzbNFJeDkAexnGA2ImaDDQogukSX94zoC03onSeYcz3TzR4e2VaWHA47G1VMs6Dt7TxHJccFnvWIOt38h/z+TpgpK8nk8zu7jS0+qsh8+8ck1G3m/eXIBfkNeNG1G/1dWwnWgd5dYdBW4D7SNvtTJuGFtCaeqw1QIc2rTs/E04yuy41Dydg/KK94RXd0V0dQJFRJgAa71n3wmx47+xiLZ56vmLMKGg8r1979H4BQyUZrN9CCClNE+9+W+UU0qUYC4U/wA

Here's a link to 1.50 where the WMS layer doesn't load:
https://cesiumjs.org/releases/1.50/Apps/Sandcastle/index.html#c=bVLbitswEP0V4Rc7EORNLyy43lBYSlvY0oUs3RfDMpYntlpZEpLskC7598qW3cRp9SLmzJkz1x4MQSG4topX5I5IPJB7tLxr6acZTja3b2/f3dysr/7Vh0L2Pr4F/WjUT2SOK7nU+IyqNqAbzs6M5G++WaAWqsSrwAFaMgNXaWc99bWQxL9F6mxprgNlFM/CN0ElWHyAI5pHzn6hycgehMVCnqZ6eo4HNMuCfoxYErPRvFfSAZdo4vVYUagvRPMWajTHMcFQalCjC9jTFzaFqvoaAN9Azyuf6iL5M5bfQO/Q9JzhNW8aRWcEyUjcOKdtlqYHLP00qDCKUbAdxapL46l/EUrzbNFJeDkAexnGA2ImaDDQogukSX94zoC03onSeYcz3TzR4e2VaWHA47G1VMs6Dt7TxHJccFnvWIOt38h/z+TpgpK8nk8zu7jS0+qsh8+8ck1G3m/eXIBfkNeNG1G/1dWwnWgd5dYdBW4D7SNvtTJuGFtCaeqw1QIc2rTs/E04yuy41Dydg/KK94RXd0V0dQJFRJgAa71n3wmx47+xiLZ56vmLMKGg8r1979H4BQyUZrN9CCClNE+9+W+UU0qUYC4U/wA

3. Context. Why do you need to do this? We might know a better way to accomplish your goal.

While the minimal example above of displaying the lunar WMS datasource doesn't specifically require the definition of a custom ellipsoid, I maintain a lunar map with many features that do depend on it. I recently attempted to upgrade and found all the imagery layers not showing while vector features seemed to continue to display properly.

4. The Cesium version you're using, your operating system and browser.

Cesium 1.50, Ubuntu 16.04, Chrome 69.0

Thanks in advance for any help on this matter!

Hey, thank you so much for reporting this and for the well made test cases! This helped me a lot in isolating it. It looks like this broke as a result of us turning on ground atmosphere by default. You can turn this off by setting:

globe.showGroundAtmosphere = false;

``

Before you initialize the viewer. I’ve opened a bug report on GitHub with your test case:

Thanks again!

Thanks Omar!! Adding that line did the trick.