IBL Shadow sample appears flipped horizontally (Play text is reversed)

I believe there may be a bug in the IBL Shadow sample.

The image is the actual result when running the Playground:

The image is the screenshot from the official documentation:

As you can see, in the Playground result, the “PLAY” text on the boombox is flipped horizontally. This suggests the environment or reflection might be mirrored incorrectly.

Thanks in advance.

This is a scaling issue.

            mesh.scaling.set(50, 50, -50);

resolves it. Example - https://playground.babylonjs.com/#8R5SSE#663

2 Likes

Thank you for your advice. But then it won’t match the image in the document, right? The image in the document seems to be reversed not only for the model but also for the background.

1 Like

I think the skymap is ok. In any case, it’s not related to IBL shadows, the skymap is the same in this PG:

I updated the PG from the doc so that the text is in the right direction:

1 Like

I confirmed that there is no problem with the skymap. The direction of the dragon on the ceiling matches the actual direction, so it seems to be correct.

Ceiling Painting of the Dragon at Benten-do Temple (Shinobazu Pond, Ueno)
Inside the main hall of Benten-do Temple, there is a stunning ceiling painting of a dragon, a traditional symbol of power and protection in Japanese culture.
The dragon appears to soar through the clouds, watching over worshippers.
This artwork adds to the temple’s spiritual atmosphere and is admired for its dynamic style and symbolism.

3 Likes