Reflection probe is flipped?

I totally leave this one to @Evgeni_Popov :slight_smile:

@Evgeni_Popov, I ll wait to create the nightly just to be sure the latest fix is ok :slight_smile:

Now to figure out localized cubemaps >_<

Having a look at this.

Note that must scale your normal by -1 before calling FromPositionAndNormal, but it seems it is not enough…

1 Like

So, there were two problems in your code:

  • normal must be scaled by -1 before being passed to FromPositionAndNormal
  • you did no update the MirrorTexture.mirrorPlane property

Fixed PG:

https://playground.babylonjs.com/#CYN0YW#10

oooo that is a thing of beauty!