Ceisum draws flashing white?

I use Cesium to draw a shooting surface, and every time I draw it, a white background flashes. The demo is as follows

Hi @xulayen,

I only took a quick look, but I would recommend against destroying and recreating entities every frame. Instead, you should try to update properties on an entity that is created just once. The white flash is (I believe) happening while we’re creating a texture or uploading other GPU data and cannot yet display the final shape / material. The code path to update properties, however, should be more seamless / no flash.

Best,
Matt

1 Like

@mzschwartz5 Thanks for you reply,Yes, I was don’t want use CallbackProrpty class,Because I set the requestRenderMode is true,but has every frame to render, has dropframe every fram in 60HZ. But now ,the CallbackProrpty is the best solution.