Hi @Xingjizh1007 ,
Interesting… lots going on here. One thing I notice off the bat is:
translucencyMode: CustomShaderTranslucencyMode.OPAQUE,
Which is weird, because your opacity seems to “work” anyway. In fact, making this value TRANSLUCENT seems to really make the visualization worse, for some reason. However, in 2D mode, setting this to OPAQUE seems to prevent the point cloud from rendering at all.
Sandcastle demo I did my testing in.
Moreover, there is definitely weird interaction between translucency and eye dome lighting. I found this existing issue about it. And there’s a similar forum post as well.
Unfortunately, the best thing I can suggest right now is to plus-one that issue so it gets more attention, and, as always, you can consider contributing to Cesium yourself. We appreciate any and all contributions!
Best,
Matt