I’m trying to create a story/game that involves a textured terrain, so to avoid jagged faces between different textures, I turned to the creation of a MixMaterial. See a PG here. It works just fine
However, when I try to run it locally with BJS 4.1 using the same script as the PG, I get this error at :
TypeError: BABYLON.MixMaterial is not a constructor
Anyone know why? Do I need to get an “addon” script for BJS 4.1 for this functionality?
I also tried TerrainMaterial and get the same error.