I am testing a gltf file in the sandbox that uses the EXT_lights_image_based (glTF/extensions/2.0/Vendor/EXT_lights_image_based at master · KhronosGroup/glTF · GitHub) extension and I’m seeing the cube faces end up in incorrect places when rendered with Babylon. The image-based lighting reflected in an object shows that the flattened cubemap, as shown in the spec (glTF/extensions/2.0/Vendor/EXT_lights_image_based at master · KhronosGroup/glTF · GitHub), is folded up such that Face 3 (-Y) is on the top and Face 2 (+Y) is on bottom. Additionally, I’m also noticing that the skybox that gets created is also inverted, though it has the Z instead of Y directions incorrect. I’m also curious why the skybox is added at all.
These are incorrect, right?
Edit: Somewhat different issue, but I’m also seeing a rotation discrepancy in the image based lighting between the sandbox (4.1.0-beta.23) and the Babylon previewer in VS Code (4.0.3). One appears to be using leftHanded rotation, the other right handed. Would using Babylon through these different systems have different defaults? I’m also seeing fairly different behavior between the two versions for irradiance.