# Material difference in 2D scene

**URL:** <https://community.cesium.com/t/material-difference-in-2d-scene/15070>\
**Category:** CesiumJS\
**Created:** [August 31, 2021, 6:15am UTC](https://community.cesium.com/t/material-difference-in-2d-scene/15070 "2021-08-31T06:15:45Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![sam.rothstein](https://sea2.discourse-cdn.com/cesium/user_avatar/community.cesium.com/sam.rothstein/32/6584_2.png) [@sam.rothstein](https://community.cesium.com/u/sam.rothstein)\
**Post date:** [September 7, 2021, 5:50pm UTC](https://community.cesium.com/t/material-difference-in-2d-scene/15070/4 "2021-09-07T17:50:11Z")

</div>

@zhouhai1

Thank you for providing some more information as well as some screenshots. Regarding your second screenshot, it seems like setting the height attribute ensures that the polygon will be visible. There seems to be a consensus among community members that this is the correct way to ensure that the polygon is visible. As for the color accuracy when viewing the polygon in 2D, @11179 came up with a great solution that he outlined in the following post.

> [@Image only on the top side of poligon](https://community.cesium.com/t/image-only-on-the-top-side-of-poligon/14863/9):
>
> @11179 Thank you for sharing this! I never noticed this behavior, yet it seems to provide a temporary workaround to Cesium’s 2D color accuracy issues. I will share this demo on the GitHub issue. I think it can provide value for the rest of the community. Please add details as you see fit. -Sam

The key is that both the `height` and `extrudedHeight` affect the color of the asset. @11179 feel free to interject here with more suggestions for @zhouhai1. Let me know if there are any lingering questions or concerns!

-Sam

---

_[View the full topic](https://community.cesium.com/t/material-difference-in-2d-scene/15070)._
