i checked it and the size is large enough. but it became even weirder. i added this skybox.setEnabled(false); for testing purposes and the shadows still disappear. no, they don’t disappear, but they point to another direction and seem to not use the actual geometry.
here is a screen shot. top without the skybox code, bottom with skybox.
It seems skybox is added to your shadow generator after creating. As skybox is big enough, stuffs is too small to have one pixel on shadow map. Check line 54
hm, when creating the playground, it works. now i am even more confused.
is it possible that it has something to do with the glb i am using (exported from blender)? importing it into the playground from our server space didn’t work. so i cannot test it.
the only other difference between the playground and my scene was that i used some other hdr files i found on hdrihaven.