Babylon > 4.1 weird mipmap issue

I’ve created a shader that handles tiling and mipmapping. It looks fine on Babylon 4.0 which you can see here:
http://preview.punkoffice.com/tiling/

but it looks bad on later Babylon versions, which you can see here:
https://www.babylonjs-playground.com/#U21VAI#2

Does anyone know what’s changed?

Here we are: https://www.babylonjs-playground.com/#U21VAI#3 (check the trilinear sampling mode on line 209)

The bilinear setting was wrongly setting the mipmap on by default on 4.0.

We fixed the issue on 4.1

2 Likes