IBL sampling bug?

When picking the Env texture in the editor, it seems to be forced to a low non-sampled MIP.

  1. Load any sample with an IBL and glossy reflections.
  2. Open the Inspector, and click on the Env texture.

Result: the skybox and reflections switch to a low MIP with point sampling, and materials are forced to 100% glossy…



Pinging @Evgeni_Popov to see if he can check

(By editor, I assumed you meant the Inspector right?)

I was able to repro so this is definitely a bug… Pinging @sebavan as well

“Funnily” enough the filtering type is changing when selecting it:


Should be fixed by end of day, I am working on it now :slightly_smiling_face:

Actually it only happens in the inspector if the texture/internalTexture has no default filtering mode setup.

I am working on a fix.


PR is here Fix Inspector Texture SamplingMode and CoordMode by sebavan · Pull Request #9100 · BabylonJS/Babylon.js · GitHub it should be available in our next nightly.

1 Like

Thanks for the fix. This also seems to occur in the Sandbox in the couple of tests I ran with my own GLBs. So the default IBLs seem to not have a default filtering mode?

yes it was clearly a miss on our side :wink: