Custom material for drawing a polyline

Hi,

I am trying to create a custom material for drawing a polyline.
My target is creating a polyline with some positions, and only to show the positions on the screen (without the line between them), and need to show the positions as dots on the map.

any ideas?

I am pretty new to Materials and shaders.

Thanks!

This is a much harder problem than it sounds, which is why we don’t have out of the box support for it yet. Check out this issue for some useful links: https://github.com/AnalyticalGraphicsInc/cesium/issues/2584

You can also read more about Cesium’s current polyline rendering approach here: https://cesiumjs.org/2013/04/22/Robust-Polyline-Rendering-with-WebGL/