We’re having a very weird problem, when moving the mouse over HTML elements outside the Cesium canvas the colors of transparent primitives change!
Here’s a video of it:
https://dl.dropboxusercontent.com/u/397308/webgl_flash_bug.mp4
What could cause it?
We do a Cesium pick when the mouse moves, at first I though it was because we’re doing picking when the mouse was outside the Cesium canvas.
However I just put a check to only do the picking while inside, it fixed it partially, now the bug only happens when the mouse moves anything in the scene that is on top of the space (stars etc) and not on top of the Earth.
Eg: If there is a yellow translucent cylinder primitve, that due to the camera, is rendering half on the cylinder on top of the Earth, and half of it on top of the space.
If I move the mouse on top of the part on top of space, the Cylinder will flash and change color to a brigher yellow.
If I put the mouse over the part of the cylinder that is drawn on top of the Earth, nothing special happens, the rendering is correct.
What could cause this, any known bug in the Cesium rending or picking code?