An error occurred while rendering. Rendering has stopped.undefinedDeveloperError: Appearance/Geometry mismatch. The appearance requires vertex shader attribute input 'compressedAttributes', which was not computed as part of the Geometry. Use the appearance's vertexFormat property when constructing the geometry.viewer.clock.currentTime.secondsOfDay = 62624;
Glad I could help Patrick!It looks like the shadows are working, you just need to get it to a time of the day when the sun is overhead. You can do that with the timeline scrubber widget at the bottom. Here's a particular time of day I found where the shadows do appear, that you can set programmatic ally with this line:
viewer.clock.currentTime.secondsOfDay = 62624;
(I got this by using the scrubber then outputting that value).
var points3 = [];points3.push(Cesium.Cartesian3.fromArray([0, 0, 0]));points3.push(Cesium.Cartesian3.fromArray([50, 0, 0]));points3.push(Cesium.Cartesian3.fromArray([50, 30, 0]));An error occurred while rendering. Rendering has stopped.
undefined
DeveloperError: normalized result is not a number
var polyBlockGeom = new Cesium.PolygonGeometry({ polygonHierarchy: new Cesium.PolygonHierarchy(points3), vertexFormat : Cesium.PerInstanceColorAppearance.VERTEX_FORMAT, perPositionHeight: true, extrudedHeight : 30});