createDefaultSkybox seems to work fine with a perspective camera, but once I switch to an orthographic camera, the skybox disappears. If I set skybox.ignoreCameraMaxZ = false;
then it renders correctly again. Is this intended?
Yes, ortho camera is different from perspective camera. For example, minZ that is usually close to 0 for perpective is different. like this:
min/max z are in world coordinates but in clip space for perspective camera. So clipped geometry is different.
1 Like