# How to implement gradient materials in polylineVolume

**URL:** <https://community.cesium.com/t/how-to-implement-gradient-materials-in-polylinevolume/32059>\
**Category:** CesiumJS\
**Created:** [May 10, 2024, 10:29am UTC](https://community.cesium.com/t/how-to-implement-gradient-materials-in-polylinevolume/32059 "2024-05-10T10:29:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lvfeijian](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/lvfeijian/32/23444_2.png) [@lvfeijian](https://community.cesium.com/u/lvfeijian)\
**Post date:** [May 10, 2024, 10:29am UTC](https://community.cesium.com/t/how-to-implement-gradient-materials-in-polylinevolume/32059/1 "2024-05-10T10:29:30Z")

</div>

[entity polylineVolume demo](https://sandcastle.cesium.com/?src=Polyline%20Volume.html)  
Based on this case, I want to set the material as a gradient color, from bottom to top. I don’t know how to implement it. Can you help me
