Hello everyone
I am working with the shadow map, Cesium JS. it is a mountain on left side and the shadow must definitely be a surface.
viewer.scene.shadowMap.enabled = true;
viewer.scene.shadowMap.size = 4096;
viewer.scene.shadowMap.softShadows = true;
viewer.scene.shadowMap.darkness = 0.5;
viewer.scene.shadowMap.normalOffsetBias = 0.05;
viewer.scene.shadowMap.polygonOffsetBias = 0.5;
are there some solution? I tryed several “solution” e.g. (viewer.scene.shadowMap.filter = Cesium.ShadowMapFilter.PCFSoft) but nothing is working.
Hi @hans_meier. Is the terrain that could be causing the shadow offscreen? If so, it could have been culled. This is documented in Shadows do not consider terrain that is outside of the rendered scene · Issue #9641 · CesiumGS/cesium · GitHub.
Thank you @Gabby_Getz. So far I understan is there no solution that works proberly. I think we will tray with a secon camera.
Do you have any good information or solution on how to visualize the dawn and dusk (sunrise)? I have made some attempts with the Sandcastl Atmosphare but did not achieve anything nice.