MirrorTexture render cullBackFace as cullFrontFace

I find mirrorTexture always not render my custom skybox today, I find it work wrong with cullFrontFace shaderMaterial (it used to work well before babylon 5.21.0)。
In this PG https://playground.babylonjs.com/#5B200K#3
when camera is inner of skybox,mirror doesn’t render skybox


when camera is outter of skybox, mirror Render skybox

I find same issus with other material(https://playground.babylonjs.com/#5B200K#6)

There is indeed a bug in the mirror rendering when cullBackFaces=false. This PR will fix the problem:

2 Likes