Applying material to Cesium OSM building that changes according to the cesium sun

I want to create a material for the cesium OSM building, which is basically building footprints. I want a heatmap like dynamic material where the buiding needs to appear in reddish orange color where the directional light(cesium sun) points and in blue where the shadow regions. How to do that?