Here’s a demo of shadow analysis on a globe with google 3D tiles.
Great tool to check until what time the terrace of your favorite bar will be in the sun!
I added some atmosphere effects. not exactly real rayleigh scattering but it looks alright
The demo relies on the google 3D Tiles API which is still limited in number of requests so the demo might become unavailable.
The library used on top of threejs to render the 3DTiles and navigate is ultra-globe.
Very nice! I am struggling to achieve a similar result with 3DTilesRenderer however unsuccessful so far.
Are you willing to share the setting you used for the DirectionalLight and shadow.camera ?
Sure, did you try the cascade shadow maps : three.js examples
For this sample, I didn’t use it because I wasn’t aware of it. I use a single shadow map and try to fit it to the view.
If you’re rendering the entire google earth dataset, you can copy what I did from here: https://github.com/ebeaufay/UltraGlobe/blob/47bcd099ac619b8697df16f6f58bf8870280c692/src/Map.js
I guesstimate a lot of values so, you can always ask me if some stuff doesn’t make sense.
If I had to do it again, I would use the cascade shadow map sample. Especially if you’re not rendering the entire google earth dataset but still a large area, I think that’s the way to go.