Polygon Color with brighter and darker side ?

Can anyone help me to fix this issue?

Polygon should have solid color , but something effecting these polygons like some sort of darker lightning effect above it.

Its shown like below:

Appreciate for helping me.

As far as I know, there is no simple solution to this problem. We have a long term roadmap to refactor the lighting system but no ETA as to when it will happen.

Is it cause by shading effect by phong.js phong.glsl ? i read last issue about lightning that good for 3D view but not for 2D and columbus.

Can you guide me to disabling the shader? i just need the polygon color to be full color no lighting effect even on 3D.

Pada Selasa, 18 Agustus 2015 22.30.09 UTC+8, Matthew Amato menulis:

You can try changing line 49 and line 62 to return vec4(ambient, material.alpha); which should give an even coloring for your use case. You can also play with the 0.5 in line 42 to change the brigtness. It’s a hack, but it might work for you.

You’ll need to rebuild Cesium after making the changes.

after i rebuild the source, the result still not changes.

is it me wrong on rebuild the source?

i do the rebuild with “.\Tools\apache-ant-1.8.2\bin\ant release” ,

we change the phong.glsl file right? is there any other step before do the release build?

here is the result on my last rebuild:

Pada Rabu, 19 Agustus 2015 21.59.07 UTC+8, Matthew Amato menulis:

i realize the problem of color is fixed already, then it success to rebuild!
i got it mistaken on giving .withAlpha to color of material.

but now other problem of polyline that between two polygon is missing, maybe get hide below polygons?

any solution for this ?

Pada Selasa, 18 Agustus 2015 16.30.34 UTC+8, Wilson Muktar menulis: