Hello, I am trying to determine the color of a pixel at a certain location on the cesium canvas. The result is always the same, [0, 0, 0, 255]. I am using the latest version of chrome and cesium and am using Bing maps.
I will be using this to sample the map imagery under a screen overlay so it can dynamically be colored to contrast the map.
I have created a Github gist that can be copied and pasted into a Cesium Sandcastle.
You need to use the same context that Cesium is using. I’m not sure what happens when there is more than one context requested from the same canvas. Try: